Disable symbol mangling for C++

This commit is contained in:
Tibor Nagy
2018-10-28 13:24:34 +01:00
parent bfa068df88
commit d4308c8a9b
7 changed files with 56 additions and 0 deletions
+8
View File
@@ -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 */