Disable symbol mangling for C++
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
|
||||
typedef struct FILE FILE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int fprintf(FILE * stream, const char * fmt, ...);
|
||||
int printf(const char * fmt, ...);
|
||||
int snprintf(char *s, size_t n, const char * fmt, ...);
|
||||
@@ -13,4 +17,8 @@ int fscanf(FILE * stream, const char * fmt, ...);
|
||||
int scanf(const char * fmt, ...);
|
||||
int sscanf(const char * input, const char * fmt, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* _BITS_STDIO_H */
|
||||
|
||||
Reference in New Issue
Block a user