diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editors/vi.c b/editors/vi.c index cd6cf0ea1..5a47f5a23 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2340,7 +2340,7 @@ static Byte readit(void) // read (maybe cursor) key from stdin | |||
2340 | } | 2340 | } |
2341 | 2341 | ||
2342 | //----- IO Routines -------------------------------------------- | 2342 | //----- IO Routines -------------------------------------------- |
2343 | static Byte get_one_char() | 2343 | static Byte get_one_char(void) |
2344 | { | 2344 | { |
2345 | static Byte c; | 2345 | static Byte c; |
2346 | 2346 | ||
@@ -2600,25 +2600,25 @@ static void place_cursor(int row, int col, int opti) | |||
2600 | } | 2600 | } |
2601 | 2601 | ||
2602 | //----- Erase from cursor to end of line ----------------------- | 2602 | //----- Erase from cursor to end of line ----------------------- |
2603 | static void clear_to_eol() | 2603 | static void clear_to_eol(void) |
2604 | { | 2604 | { |
2605 | write1(Ceol); // Erase from cursor to end of line | 2605 | write1(Ceol); // Erase from cursor to end of line |
2606 | } | 2606 | } |
2607 | 2607 | ||
2608 | //----- Erase from cursor to end of screen ----------------------- | 2608 | //----- Erase from cursor to end of screen ----------------------- |
2609 | static void clear_to_eos() | 2609 | static void clear_to_eos(void) |
2610 | { | 2610 | { |
2611 | write1(Ceos); // Erase from cursor to end of screen | 2611 | write1(Ceos); // Erase from cursor to end of screen |
2612 | } | 2612 | } |
2613 | 2613 | ||
2614 | //----- Start standout mode ------------------------------------ | 2614 | //----- Start standout mode ------------------------------------ |
2615 | static void standout_start() // send "start reverse video" sequence | 2615 | static void standout_start(void) // send "start reverse video" sequence |
2616 | { | 2616 | { |
2617 | write1(SOs); // Start reverse video mode | 2617 | write1(SOs); // Start reverse video mode |
2618 | } | 2618 | } |
2619 | 2619 | ||
2620 | //----- End standout mode -------------------------------------- | 2620 | //----- End standout mode -------------------------------------- |
2621 | static void standout_end() // send "end reverse video" sequence | 2621 | static void standout_end(void) // send "end reverse video" sequence |
2622 | { | 2622 | { |
2623 | write1(SOn); // End reverse video mode | 2623 | write1(SOn); // End reverse video mode |
2624 | } | 2624 | } |
@@ -2648,7 +2648,7 @@ static void Indicate_Error(void) | |||
2648 | 2648 | ||
2649 | //----- Screen[] Routines -------------------------------------- | 2649 | //----- Screen[] Routines -------------------------------------- |
2650 | //----- Erase the Screen[] memory ------------------------------ | 2650 | //----- Erase the Screen[] memory ------------------------------ |
2651 | static void screen_erase() | 2651 | static void screen_erase(void) |
2652 | { | 2652 | { |
2653 | memset(screen, ' ', screensize); // clear new screen | 2653 | memset(screen, ' ', screensize); // clear new screen |
2654 | } | 2654 | } |