diff options
author | bde <bde@FreeBSD.org> | 1998-05-01 18:10:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-01 18:10:50 +0000 |
commit | f557c431ce25e898d83d15184bb51fea445bb592 (patch) | |
tree | 1a8a1bbbf787c9943a3f6b8e849fe60446cd01e3 /sys | |
parent | e5f7e85071da8970696b4425c9e3c4fe9f7d7076 (diff) | |
download | FreeBSD-src-f557c431ce25e898d83d15184bb51fea445bb592.zip FreeBSD-src-f557c431ce25e898d83d15184bb51fea445bb592.tar.gz |
Support compiling with `gcc -ansi'. Just use __inline instead of inline.
[__]inline is only used to bloat the code here. It gives a separate copy
of all the strings for each time this header is included...
Fixed misuse of __P(()).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isp/ispvar.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index 8625b0e..4e2ed9e 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -1,4 +1,4 @@ -/* $Id: ispvar.h,v 1.6 1998/04/14 17:51:32 mjacob Exp $ */ +/* $Id: ispvar.h,v 1.1 1998/04/22 17:54:58 mjacob Exp $ */ /* * Soft Definitions for for Qlogic ISP SCSI adapters. * @@ -161,7 +161,10 @@ typedef struct { #define FW_REINIT 0x0006 #define FW_NON_PART 0x0007 -static inline char *fw_statename __P((u_int8_t x)) +static __inline char *fw_statename __P((u_int8_t x)); +static __inline char * +fw_statename(x) + u_int8_t x; { switch(x) { case FW_CONFIG_WAIT: return "Config Wait"; |