From af39ee3e3f62ac11dd202b59abf9da325ffbfdb1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 14 Sep 2004 22:23:10 +0000 Subject: use __inline instead of inline (for portability) --- usr.bin/hexdump/display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/hexdump') 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 @@ -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; -- cgit v1.2.3