fix -Wstrict-prototypes
This commit is contained in:
@@ -366,7 +366,7 @@ keycode()
|
||||
#include <conio.h>
|
||||
|
||||
int
|
||||
keycode()
|
||||
keycode(void)
|
||||
{
|
||||
int code = -1;
|
||||
int key = getch();
|
||||
@@ -421,7 +421,7 @@ keycode()
|
||||
#endif
|
||||
|
||||
void
|
||||
test_keycodes()
|
||||
test_keycodes(void)
|
||||
{
|
||||
printf("getkeycode() test; press 'q' for exit\n");
|
||||
printf("Press 'q' for exit\n\n");
|
||||
|
||||
@@ -5,10 +5,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
int
|
||||
keycode();
|
||||
keycode(void);
|
||||
|
||||
void
|
||||
test_keycodes();
|
||||
test_keycodes(void);
|
||||
|
||||
// key codes ==========================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user