make ANSI C compatible
[unix-history] / usr / src / sys / vax / if / if_hy.h
index ba6ed00..b04fa94 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)if_hy.h     7.1 (Berkeley) %G%
+ *     @(#)if_hy.h     7.2 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -171,8 +171,8 @@ struct hyrsetget {
 
 #define HYRHASH(x) (((x) ^ ((x) >> 16)) % HYRSIZE)
 
 
 #define HYRHASH(x) (((x) ^ ((x) >> 16)) % HYRSIZE)
 
-#define HYSETROUTE     _IOW(i, 0x80, struct hyrsetget)
-#define HYGETROUTE     _IOW(i, 0x81, struct hyrsetget)
+#define HYSETROUTE     _IOW('i', 0x80, struct hyrsetget)
+#define HYGETROUTE     _IOW('i', 0x81, struct hyrsetget)
 
 struct hylsetget {
        char    hylsg_name[IFNAMSIZ];   /* if name, e.g. "hy0" */
 
 struct hylsetget {
        char    hylsg_name[IFNAMSIZ];   /* if name, e.g. "hy0" */
@@ -181,9 +181,9 @@ struct      hylsetget {
        u_long  hylsg_len;              /* size of table provided */
 };     
 
        u_long  hylsg_len;              /* size of table provided */
 };     
 
-#define HYSETLOG       _IOW(i, 0x82, struct hylsetget)
-#define HYGETLOG       _IOW(i, 0x83, struct hylsetget)
-#define HYGETELOG      _IOW(i, 0x84, struct hylsetget)
+#define HYSETLOG       _IOW('i', 0x82, struct hylsetget)
+#define HYGETLOG       _IOW('i', 0x83, struct hylsetget)
+#define HYGETELOG      _IOW('i', 0x84, struct hylsetget)
 
 /*
  * Structure of Statistics Record (counters)
 
 /*
  * Structure of Statistics Record (counters)