summaryrefslogtreecommitdiff
path: root/src/scanopt.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-12-15 15:08:50 -0500
committerWill Estes <westes575@gmail.com>2015-12-15 16:11:01 -0500
commitc1c3b82b79fdc867c521fda14447e2a268af4c22 (patch)
tree29299fa4e63512f54900f3716a543584bd58cfcb /src/scanopt.c
parentc918627e08a29d432a7e22d533f59a7a0175d070 (diff)
Remove more instances of PROTO
Diffstat (limited to 'src/scanopt.c')
-rw-r--r--src/scanopt.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/scanopt.c b/src/scanopt.c
index 22e35b3..90408c4 100644
--- a/src/scanopt.c
+++ b/src/scanopt.c
@@ -75,15 +75,14 @@ struct _scanopt_t {
};
/* Accessor functions. These WOULD be one-liners, but portability calls. */
-static const char *NAME PROTO ((struct _scanopt_t *, int));
-static int PRINTLEN PROTO ((struct _scanopt_t *, int));
-static int RVAL PROTO ((struct _scanopt_t *, int));
-static int FLAGS PROTO ((struct _scanopt_t *, int));
-static const char *DESC PROTO ((struct _scanopt_t *, int));
-static int scanopt_err PROTO ((struct _scanopt_t *, int, int));
-static int matchlongopt PROTO ((char *, char **, int *, char **, int *));
-static int find_opt
-PROTO ((struct _scanopt_t *, int, char *, int, int *, int *opt_offset));
+static const char *NAME(struct _scanopt_t *, int);
+static int PRINTLEN(struct _scanopt_t *, int);
+static int RVAL(struct _scanopt_t *, int);
+static int FLAGS(struct _scanopt_t *, int);
+static const char *DESC(struct _scanopt_t *, int);
+static int scanopt_err(struct _scanopt_t *, int, int);
+static int matchlongopt(char *, char **, int *, char **, int *);
+static int find_opt((struct _scanopt_t *, int, char *, int, int *, int *opt_offset));
static const char *NAME (struct _scanopt_t *s, int i)
{
@@ -112,7 +111,7 @@ static const char *DESC (struct _scanopt_t *s, int i)
}
#ifndef NO_SCANOPT_USAGE
-static int get_cols PROTO ((void));
+static int get_cols (void);
static int get_cols (void)
{