From f33ac8a958dd1604b18f1d0a88e6fc64d8948110 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sat, 25 Mar 2006 01:37:35 +0000 Subject: [PATCH] Formatting. --- pdcurses/insstr.c | 8 ++++---- pdcurses/instr.c | 6 +++--- pdcurses/kernel.c | 4 ++-- pdcurses/pdcwin.c | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pdcurses/insstr.c b/pdcurses/insstr.c index 5aadd10f..45500efa 100644 --- a/pdcurses/insstr.c +++ b/pdcurses/insstr.c @@ -39,7 +39,7 @@ #ifdef PDCDEBUG const char *rcsid_insstr = - "$Id: insstr.c,v 1.20 2006/02/23 01:46:52 wmcbrine Exp $"; + "$Id: insstr.c,v 1.21 2006/03/25 01:37:35 wmcbrine Exp $"; #endif /*man-start************************************************************** @@ -53,8 +53,8 @@ const char *rcsid_insstr = int winsnstr(WINDOW *win, const char *str, int n); int mvinsstr(int y, int x, const char *str); int mvinsnstr(int y, int x, const char *str, int n); - int mvwinsstr(WINDOW *, int y, int x, const char *str); - int mvwinsnstr(WINDOW *, int y, int x, const char *str, int n); + int mvwinsstr(WINDOW *win, int y, int x, const char *str); + int mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n); System V Curses Description: With these routines, a character string (as many characters as @@ -172,7 +172,7 @@ int mvwinsstr(WINDOW *win, int y, int x, const char *str) return winsnstr(win, str, -1); } -int mvwinsnstr(WINDOW *win,int y, int x, const char *str, int n) +int mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n) { PDC_LOG(("mvwinsnstr() - called: y %d x %d string=\"%s\" n %d \n", y, x, str, n)); diff --git a/pdcurses/instr.c b/pdcurses/instr.c index 625eacbc..b815717b 100644 --- a/pdcurses/instr.c +++ b/pdcurses/instr.c @@ -39,7 +39,7 @@ #ifdef PDCDEBUG const char *rcsid_instr = - "$Id: instr.c,v 1.16 2006/02/23 01:46:52 wmcbrine Exp $"; + "$Id: instr.c,v 1.17 2006/03/25 01:37:35 wmcbrine Exp $"; #endif /*man-start************************************************************** @@ -53,8 +53,8 @@ const char *rcsid_instr = int winnstr(WINDOW *win, char *str, int n); int mvinstr(int y, int x, char *str); int mvinnstr(int y, int x, char *str, int n); - int mvwinstr(WINDOW *, int y, int x, char *str); - int mvwinnstr(WINDOW *, int y, int x, char *str, int n); + int mvwinstr(WINDOW *win, int y, int x, char *str); + int mvwinnstr(WINDOW *win, int y, int x, char *str, int n); System V Curses Description: These routines return a string of characters in str, starting at diff --git a/pdcurses/kernel.c b/pdcurses/kernel.c index a8ed6d1a..6caf3c7f 100644 --- a/pdcurses/kernel.c +++ b/pdcurses/kernel.c @@ -71,7 +71,7 @@ #ifdef PDCDEBUG const char *rcsid_kernel = - "$Id: kernel.c,v 1.36 2006/02/23 01:46:52 wmcbrine Exp $"; + "$Id: kernel.c,v 1.37 2006/03/25 01:37:35 wmcbrine Exp $"; #endif RIPPEDOFFLINE linesripped[5]; @@ -90,7 +90,7 @@ char linesrippedoff = 0; int savetty(void); void getsyx(int y, int x); void setsyx(int y, int x); - int ripoffline(int line, int (*init)(WINDOW *,int)); + int ripoffline(int line, int (*init)(WINDOW *, int)); int curs_set(int visibility); int napms(int ms); diff --git a/pdcurses/pdcwin.c b/pdcurses/pdcwin.c index 9d2623bc..f3d4140a 100644 --- a/pdcurses/pdcwin.c +++ b/pdcurses/pdcwin.c @@ -24,7 +24,7 @@ #ifdef PDCDEBUG const char *rcsid_PDCwin = - "$Id: pdcwin.c,v 1.33 2006/03/25 00:30:36 wmcbrine Exp $"; + "$Id: pdcwin.c,v 1.34 2006/03/25 01:37:35 wmcbrine Exp $"; #endif /*man-start************************************************************** @@ -139,12 +139,12 @@ int PDC_copy_win(const WINDOW *src_w, WINDOW *dst_w, int src_tr, a NULL pointer. Portability: - PDCurses WINDOW * PDC_makenew(int num_lines, int num_columns, + PDCurses WINDOW *PDC_makenew(int num_lines, int num_columns, int begy, int begx); **man-end****************************************************************/ -WINDOW * PDC_makenew(int num_lines, int num_columns, int begy, int begx) +WINDOW *PDC_makenew(int num_lines, int num_columns, int begy, int begx) { extern void *(*mallc)(size_t); extern void *(*callc)(size_t, size_t);