Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#12 stringlib.c should include stdlib.h

closed-fixed
nobody
None
5
2010-09-28
2010-09-28
Mike Frysinger
No

the malloc() prototype is in stdlib.h, so currently building stringlib.c issues a warning:
stringlib.c: In function 'Clone':
stringlib.c:52: warning: incompatible implicit declaration of built-in function 'malloc'

which is obviously bad on 64bit systems

Discussion

  • Fix committed to SVN.

     
    • status: open --> closed-fixed