summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/conio.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/conio.h')
-rw-r--r--winsup/mingw/include/conio.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/winsup/mingw/include/conio.h b/winsup/mingw/include/conio.h
index 4e8d55ab6..780ccc10d 100644
--- a/winsup/mingw/include/conio.h
+++ b/winsup/mingw/include/conio.h
@@ -39,26 +39,25 @@
extern "C" {
#endif
+_CRTIMP char* __cdecl _cgets (char*);
+_CRTIMP int __cdecl _cprintf (const char*, ...);
+_CRTIMP int __cdecl _cputs (const char*);
+_CRTIMP int __cdecl _cscanf (char*, ...);
-char* _cgets (char*);
-int _cprintf (const char*, ...);
-int _cputs (const char*);
-int _cscanf (char*, ...);
-
-int _getch (void);
-int _getche (void);
-int _kbhit (void);
-int _putch (int);
-int _ungetch (int);
+_CRTIMP int __cdecl _getch (void);
+_CRTIMP int __cdecl _getche (void);
+_CRTIMP int __cdecl _kbhit (void);
+_CRTIMP int __cdecl _putch (int);
+_CRTIMP int __cdecl _ungetch (int);
#ifndef _NO_OLDNAMES
-int getch (void);
-int getche (void);
-int kbhit (void);
-int putch (int);
-int ungetch (int);
+_CRTIMP int __cdecl getch (void);
+_CRTIMP int __cdecl getche (void);
+_CRTIMP int __cdecl kbhit (void);
+_CRTIMP int __cdecl putch (int);
+_CRTIMP int __cdecl ungetch (int);
#endif /* Not _NO_OLDNAMES */