1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Forgot to add extern "C" to sscanf.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-05 16:06:15 +01:00
parent c03738a9f3
commit fa4bd9e7a8

View file

@ -121,7 +121,7 @@ namespace Maxsi
// TODO: This is an ugly hack to help build binutils.
#warning Ugly sscanf hack to help build binutils
extern int sscanf(const char* s, const char* format, ...)
extern "C" int sscanf(const char* s, const char* format, ...)
{
if ( strcmp(format, "%x") != 0 )
{