summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 07:10:03 +0000
committerkan <kan@FreeBSD.org>2004-07-28 07:10:03 +0000
commitaa7daeefe51f3af3bd743cfaa8337eb517b1ef67 (patch)
treef6d05bac9aeaf84e7bdfb40fa96e1f9a367868b7
parent5008b82a17768727639329ee9caea33cd822ed54 (diff)
downloadFreeBSD-src-aa7daeefe51f3af3bd743cfaa8337eb517b1ef67.zip
FreeBSD-src-aa7daeefe51f3af3bd743cfaa8337eb517b1ef67.tar.gz
Do not predeclare __inline functions, this makes no sense and generates
a warning with gcc 3.4.x.
-rw-r--r--usr.bin/hexdump/display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index 0887f05..9f9ab88 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(PR *, u_char *);
+static void print(PR *, u_char *);
void
display(void)
@@ -112,7 +112,7 @@ display(void)
}
}
-static __inline void
+static void
print(PR *pr, u_char *bp)
{
long double ldbl;
OpenPOWER on IntegriCloud