]> jfr.im git - irc/ircd-hybrid/bopm.git/commitdiff
Removed u_char so _BSD_SOURCE doesn't have to be defined in some cases.
authordgl <redacted>
Fri, 1 Nov 2002 10:26:42 +0000 (10:26 +0000)
committerdgl <redacted>
Fri, 1 Nov 2002 10:26:42 +0000 (10:26 +0000)
(Namely running bopm under dietlibc - the static file is smaller than a
dynamic file from glibc :)).

src/inet.c

index 535396d4e43a3ae3111931d2d17fa8c36140951c..1f89428e0d528b496b6b219be994a16fc31209e1 100644 (file)
@@ -154,9 +154,9 @@ char *inetntoa(char *in)
  * sizeof(int) < 4.  sizeof(int) > 4 is fine; all the world's not a VAX.
  */
 
-static const char *inet_ntop4(const u_char *src, char *dst, unsigned int size);
+static const char *inet_ntop4(const unsigned char *src, char *dst, unsigned int size);
 #ifdef IPV6
-static const char *inet_ntop6(const u_char *src, char *dst, unsigned int size);
+static const char *inet_ntop6(const unsigned char *src, char *dst, unsigned int size);
 #endif
 
 /* const char *