summaryrefslogtreecommitdiffstats
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commit74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/hexdump
parentce819c0c139981d7bab5fe36a6074af74b01d185 (diff)
downloadFreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip
FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz
remove __P
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/display.c2
-rw-r--r--usr.bin/hexdump/hexdump.h40
-rw-r--r--usr.bin/hexdump/odsyntax.c4
3 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index fa9ed6d..4a1a0e0 100644
--- a/usr.bin/hexdump/display.c
+++ b/usr.bin/hexdump/display.c
@@ -55,7 +55,7 @@ enum _vflag vflag = FIRST;
static off_t address; /* address/offset in stream */
static off_t eaddress; /* end address */
-static inline void print __P((PR *, u_char *));
+static inline void print(PR *, u_char *);
void
display()
diff --git a/usr.bin/hexdump/hexdump.h b/usr.bin/hexdump/hexdump.h
index 86073c3..1815819 100644
--- a/usr.bin/hexdump/hexdump.h
+++ b/usr.bin/hexdump/hexdump.h
@@ -75,23 +75,23 @@ extern FS *fshead; /* head of format strings list */
extern int blocksize; /* data block size */
enum _vflag { ALL, DUP, FIRST, WAIT }; /* -v values */
-void add __P((const char *));
-void addfile __P((char *));
-void badcnt __P((char *));
-void badconv __P((char *));
-void badfmt __P((const char *));
-void badsfmt __P((void));
-void bpad __P((PR *));
-void conv_c __P((PR *, u_char *));
-void conv_u __P((PR *, u_char *));
-void display __P((void));
-void doskip __P((const char *, int));
-void escape __P((char *));
-u_char *get __P((void));
-void newsyntax __P((int, char ***));
-int next __P((char **));
-void nomem __P((void));
-void oldsyntax __P((int, char ***));
-void rewrite __P((FS *));
-int size __P((FS *));
-void usage __P((void));
+void add(const char *);
+void addfile(char *);
+void badcnt(char *);
+void badconv(char *);
+void badfmt(const char *);
+void badsfmt(void);
+void bpad(PR *);
+void conv_c(PR *, u_char *);
+void conv_u(PR *, u_char *);
+void display(void);
+void doskip(const char *, int);
+void escape(char *);
+u_char *get(void);
+void newsyntax(int, char ***);
+int next(char **);
+void nomem(void);
+void oldsyntax(int, char ***);
+void rewrite(FS *);
+int size(FS *);
+void usage(void);
diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c
index 8823a9c..35cd04e 100644
--- a/usr.bin/hexdump/odsyntax.c
+++ b/usr.bin/hexdump/odsyntax.c
@@ -51,8 +51,8 @@ static const char rcsid[] =
int deprecated;
-static void odoffset __P((int, char ***));
-static void odprecede __P((void));
+static void odoffset(int, char ***);
+static void odprecede(void);
void
oldsyntax(argc, argvp)
OpenPOWER on IntegriCloud