]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use #defines instead of typedefs
authorTed Lemon <source@isc.org>
Wed, 22 May 1996 11:32:59 +0000 (11:32 +0000)
committerTed Lemon <source@isc.org>
Wed, 22 May 1996 11:32:59 +0000 (11:32 +0000)
cf/ultrix.h
includes/cf/ultrix.h

index d5ccf534b2829f029a627f98763fca23116b000b..661bd081a5eaca5265619654f8c4b60945b2634b 100644 (file)
@@ -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 
index d5ccf534b2829f029a627f98763fca23116b000b..661bd081a5eaca5265619654f8c4b60945b2634b 100644 (file)
@@ -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