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