summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-22 11:32:59 +0000
committerTed Lemon <source@isc.org>1996-05-22 11:32:59 +0000
commit3823ccf22d30ef8a29e4cf5b59a40f1faf9596a3 (patch)
tree1f7f7559785c99028a9ae43eef81a8062c6af857
parent760e1ee35164c44b20dee71d7210888f23f06921 (diff)
downloadisc-dhcp-3823ccf22d30ef8a29e4cf5b59a40f1faf9596a3.tar.gz
Use #defines instead of typedefs
-rw-r--r--cf/ultrix.h6
-rw-r--r--includes/cf/ultrix.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/cf/ultrix.h b/cf/ultrix.h
index d5ccf534..661bd081 100644
--- a/cf/ultrix.h
+++ b/cf/ultrix.h
@@ -63,9 +63,9 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
-typedef char int8_t;
-typedef short int16_t;
-typedef long int32_t;
+#define int8_t char
+#define int16_t short
+#define int32_t long
#define u_int8_t unsigned char /* Not quite POSIX... */
#define u_int16_t unsigned short
diff --git a/includes/cf/ultrix.h b/includes/cf/ultrix.h
index d5ccf534..661bd081 100644
--- a/includes/cf/ultrix.h
+++ b/includes/cf/ultrix.h
@@ -63,9 +63,9 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
-typedef char int8_t;
-typedef short int16_t;
-typedef long int32_t;
+#define int8_t char
+#define int16_t short
+#define int32_t long
#define u_int8_t unsigned char /* Not quite POSIX... */
#define u_int16_t unsigned short