declaration of sprintf only if __STDC__ is not defined
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
#include "comm1.h"
|
||||
#include "y.tab.h"
|
||||
|
||||
extern char *sprintf();
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
/* sprintf should be declared in stdio.h, as returning an int */
|
||||
#endif
|
||||
|
||||
valu_t
|
||||
load(ip)
|
||||
|
||||
Reference in New Issue
Block a user