From f311d0371d3585ad4f97a69de9669dd49197686a Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Thu, 15 Mar 2012 13:55:15 -0400 Subject: [PATCH] Clean up prototypes. --- h/msh.h | 2 +- uip/msh.c | 2 -- uip/picksbr.c | 26 +++++++++++++------------- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/h/msh.h b/h/msh.h index fb80f23..433be00 100644 --- a/h/msh.h +++ b/h/msh.h @@ -53,7 +53,7 @@ extern int modified; /* command modified folder */ extern struct msgs *mp; /* used a lot */ extern struct Msg *Msgs; /* Msgs[0] not used */ -FILE *msh_ready (); +FILE *msh_ready (int, int); /* * COMMAND diff --git a/uip/msh.c b/uip/msh.c index f6d1a36..7b5575e 100644 --- a/uip/msh.c +++ b/uip/msh.c @@ -155,7 +155,6 @@ int told_to_quit; /* SIGQUIT detected */ */ void fsetup (char *); void setup (char *); -FILE *msh_ready (int, int); void readids (int); int readid (int); void display_info (int); @@ -174,7 +173,6 @@ static int read_map (char *, long); static int read_file (long, int); static void m_gMsgs (int); -FILE *msh_ready (int, int); static int check_folder (int); static void scanrange (int, int); static void scanstring (char *); diff --git a/uip/picksbr.c b/uip/picksbr.c index 85bc4bc..26401f4 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -175,23 +175,23 @@ static struct nexus *head; /* * prototypes for date routines */ -static struct tws *tws_parse(); -static struct tws *tws_special(); +static struct tws *tws_parse(char *, int); +static struct tws *tws_special(char *); /* * static prototypes */ -static void PRaction(); -static int gcompile(); -static int advance(); -static int cclass(); -static int tcompile(); - -static struct nexus *parse(); -static struct nexus *nexp1(); -static struct nexus *nexp2(); -static struct nexus *nexp3(); -static struct nexus *newnexus(); +static void PRaction(struct nexus *, int); +static int gcompile(struct nexus *, char *); +static int advance(char *, char *); +static int cclass(unsigned char *, int, int); +static int tcompile(char *, struct tws *, int); + +static struct nexus *parse(void); +static struct nexus *nexp1(void); +static struct nexus *nexp2(void); +static struct nexus *nexp3(void); +static struct nexus *newnexus(int (*)()); static int ORaction(); static int ANDaction(); -- 1.7.10.4