summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr/str.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
commit0b20191705a346bc322deac818912bd4eab96a1b (patch)
treef17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/tr/str.c
parent1698cb216e2d4ca62662103eba0191f134923698 (diff)
downloadFreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.zip
FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.tar.gz
remove __P
Diffstat (limited to 'usr.bin/tr/str.c')
-rw-r--r--usr.bin/tr/str.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/tr/str.c b/usr.bin/tr/str.c
index 92ced8b..46bf340 100644
--- a/usr.bin/tr/str.c
+++ b/usr.bin/tr/str.c
@@ -51,13 +51,13 @@ static const char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95";
#include "extern.h"
-static int backslash __P((STR *));
-static int bracket __P((STR *));
-static int c_class __P((const void *, const void *));
-static void genclass __P((STR *));
-static void genequiv __P((STR *));
-static int genrange __P((STR *));
-static void genseq __P((STR *));
+static int backslash(STR *);
+static int bracket(STR *);
+static int c_class(const void *, const void *);
+static void genclass(STR *);
+static void genequiv(STR *);
+static int genrange(STR *);
+static void genseq(STR *);
int
next(s)
@@ -152,7 +152,7 @@ bracket(s)
typedef struct {
const char *name;
- int (*func) __P((int));
+ int (*func)(int);
int *set;
} CLASS;
@@ -187,7 +187,7 @@ static void
genclass(s)
STR *s;
{
- int cnt, (*func) __P((int));
+ int cnt, (*func)(int);
CLASS *cp, tmp;
int *p;
OpenPOWER on IntegriCloud