diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2010-12-01 19:39:00 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-25 14:19:28 +0200 |
commit | b29602933261a24d078d82f0bf3f0044923454a0 (patch) | |
tree | 02a61b32d4c3be3be4ccbfb05caca21e7cf817c9 /src/help.c | |
parent | 0d47189c412e43f1b254060d98608dff30349fff (diff) | |
download | screen-b29602933261a24d078d82f0bf3f0044923454a0.tar.gz |
remove __P macro it's obsolete
inspired by https://github.com/wrp/wscreen/commit/a434e5d6126a8160b91118db32010476998e05d3
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -55,7 +55,7 @@ extern struct term term[]; extern struct LayFuncs ListLf; -static void PadStr __P((char *, int, int, int)); +static void PadStr (char *, int, int, int); extern char *wliststr; extern char *wlisttit; @@ -125,12 +125,12 @@ char *myname, *message, *arg; extern struct comm comms[]; extern struct action ktab[]; -static void HelpProcess __P((char **, int *)); -static void HelpAbort __P((void)); -static void HelpRedisplayLine __P((int, int, int, int)); -static void add_key_to_buf __P((char *, int)); -static void AddAction __P((struct action *, int, int)); -static int helppage __P((void)); +static void HelpProcess (char **, int *); +static void HelpAbort (void); +static void HelpRedisplayLine (int, int, int, int); +static void add_key_to_buf (char *, int); +static void AddAction (struct action *, int, int); +static int helppage (void); struct helpdata { @@ -492,10 +492,10 @@ int y, xs, xe, isblank; ** */ -static void CopyrightProcess __P((char **, int *)); -static void CopyrightRedisplayLine __P((int, int, int, int)); -static void CopyrightAbort __P((void)); -static void copypage __P((void)); +static void CopyrightProcess (char **, int *); +static void CopyrightRedisplayLine (int, int, int, int); +static void CopyrightAbort (void); +static void copypage (void); struct copydata { @@ -776,10 +776,10 @@ extern struct action dmtab[]; extern struct action mmtab[]; -static void BindkeyProcess __P((char **, int *)); -static void BindkeyAbort __P((void)); -static void BindkeyRedisplayLine __P((int, int, int, int)); -static void bindkeypage __P((void)); +static void BindkeyProcess (char **, int *); +static void BindkeyAbort (void); +static void BindkeyRedisplayLine (int, int, int, int); +static void bindkeypage (void); struct bindkeydata { @@ -986,8 +986,8 @@ int y, xs, xe, isblank; #ifdef ZMODEM -static void ZmodemRedisplayLine __P((int, int, int, int)); -static int ZmodemResize __P((int, int)); +static void ZmodemRedisplayLine (int, int, int, int); +static int ZmodemResize (int, int); static struct LayFuncs ZmodemLf = { |