diff --git a/demos/testcurs.c b/demos/testcurs.c index 1772df92..3129a735 100644 --- a/demos/testcurs.c +++ b/demos/testcurs.c @@ -10,7 +10,7 @@ #ifdef PDCDEBUG # define CURSES_LIBRARY /* needed for the prototype of PDC_debug */ const char *rcsid_testcurs = - "$Id: testcurs.c,v 1.39 2006/03/01 07:48:33 wmcbrine Exp $"; + "$Id: testcurs.c,v 1.40 2006/03/01 08:04:33 wmcbrine Exp $"; #endif #include @@ -98,7 +98,7 @@ int main(int argc, char *argv[]) erase(); display_menu(old_option, new_option); - while(1) + while (1) { noecho(); keypad(stdscr, TRUE); diff --git a/panel/panel.c b/panel/panel.c index 3b2108c2..65025d73 100644 --- a/panel/panel.c +++ b/panel/panel.c @@ -26,7 +26,7 @@ #ifdef PDCDEBUG const char *rcsid_panel = - "$Id: panel.c,v 1.18 2006/02/22 06:09:46 wmcbrine Exp $"; + "$Id: panel.c,v 1.19 2006/03/01 08:04:34 wmcbrine Exp $"; #endif /*man-start********************************************************************* @@ -271,7 +271,7 @@ static void __calculate_obscure(void) pan = __bottom_panel; - while(pan) + while (pan) { if (pan->obscure) __free_obscure(pan); @@ -279,7 +279,7 @@ static void __calculate_obscure(void) lobs = (PANELOBS *)0; /* last one */ pan2 = __bottom_panel; - while(pan2) + while (pan2) { if (__panels_overlapped(pan, pan2)) { diff --git a/tools/manext.c b/tools/manext.c index 5fd4d41e..e2948651 100644 --- a/tools/manext.c +++ b/tools/manext.c @@ -76,7 +76,7 @@ int main(int argc, char **argv) continue; } - while(1) + while (1) { if (fgets(s, (int)sizeof(s), fp) == NULL) { diff --git a/win32/pdckbd.c b/win32/pdckbd.c index 13bbbcef..88464f57 100644 --- a/win32/pdckbd.c +++ b/win32/pdckbd.c @@ -21,7 +21,7 @@ #ifdef PDCDEBUG const char *rcsid_PDCkbd = - "$Id: pdckbd.c,v 1.38 2006/03/01 08:01:02 wmcbrine Exp $"; + "$Id: pdckbd.c,v 1.39 2006/03/01 08:04:34 wmcbrine Exp $"; #endif #define KEY_STATE TRUE @@ -546,7 +546,7 @@ int PDC_get_bios_key(void) PDC_LOG(("PDC_get_bios_key() - called\n")); - while(1) + while (1) { win32_getch(); diff --git a/x11/process/x11common.c b/x11/process/x11common.c index 67c7751d..1200a903 100644 --- a/x11/process/x11common.c +++ b/x11/process/x11common.c @@ -7,7 +7,7 @@ #ifdef PDCDEBUG const char rcsid_x11common = - "$Id: x11common.c,v 1.12 2006/02/27 08:19:33 wmcbrine Exp $"; + "$Id: x11common.c,v 1.13 2006/03/01 08:04:34 wmcbrine Exp $"; #endif /* Variables specific to process port */ @@ -44,7 +44,7 @@ int write_socket(int sock_num, const char *buf, int len) if (sock_num == key_sock) printf("%s:write_socket(key) len: %d\n", XCLOGMSG, len); #endif - while(1) + while (1) { rc = write(sock_num, buf + start, len); @@ -63,7 +63,7 @@ int read_socket(int sock_num, char *buf, int len) PDC_LOG(("%s:read_socket called: sock_num %d len %d\n", XCLOGMSG, sock_num, len)); - while(1) + while (1) { rc = read(sock_num, buf + start, length); diff --git a/x11/process/x11curses.c b/x11/process/x11curses.c index 92ea7e23..a3f5f263 100644 --- a/x11/process/x11curses.c +++ b/x11/process/x11curses.c @@ -12,7 +12,7 @@ #ifdef PDCDEBUG const char rcsid_x11curses = - "$Id: x11curses.c,v 1.27 2006/02/27 08:13:04 wmcbrine Exp $"; + "$Id: x11curses.c,v 1.28 2006/03/01 08:04:34 wmcbrine Exp $"; #endif extern AppData app_data; @@ -141,7 +141,7 @@ int XCurses_rawgetch(int delaytenths) PDC_LOG(("%s:XCurses_rawgetch() - called\n", XCLOGMSG)); - while(1) + while (1) { if (delaytenths && !XCurses_kbhit()) key = -1;