summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:23:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 22:23:10 +0000
commitaf39ee3e3f62ac11dd202b59abf9da325ffbfdb1 (patch)
treec2532370e2d901a263426b45991686328776dea7 /usr.bin/hexdump
parent32c8d45ef21bfa06ab12400a26cc34977e37f015 (diff)
use __inline instead of inline (for portability)
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c
index dc5629f53ea..cc84c775ab6 100644
--- a/usr.bin/hexdump/display.c
+++ b/usr.bin/hexdump/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.13 2004/07/21 17:25:57 millert Exp $ */
+/* $OpenBSD: display.c,v 1.14 2004/09/14 22:23:09 deraadt Exp $ */
/* $NetBSD: display.c,v 1.12 2001/12/07 15:14:29 bjh21 Exp $ */
/*
@@ -32,7 +32,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)display.c 5.11 (Berkeley) 3/9/91";*/
-static char rcsid[] = "$OpenBSD: display.c,v 1.13 2004/07/21 17:25:57 millert Exp $";
+static char rcsid[] = "$OpenBSD: display.c,v 1.14 2004/09/14 22:23:09 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -53,7 +53,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 __inline void print(PR *, u_char *);
void
display(void)
@@ -110,7 +110,7 @@ display(void)
}
}
-static inline void
+static __inline void
print(PR *pr, u_char *bp)
{
double f8;