aboutsummaryrefslogtreecommitdiffstats
path: root/epan/inet_v6defs.h
AgeCommit message (Collapse)AuthorFilesLines
2003-02-28Fixes for a couple of problems, from Albert Chin:Guy Harris1-2/+4
1. On Solaris, inet_ntop and inet_pton need to be linked against -lnsl. AC_CHECK_FUNC() isn't good enough unless LIBS already has -lnsl. 2. On IRIX, the blanket redefinition of the inet_ntop function prototype is incorrect (compiling with MIPSpro 7.4): cc-1143 cc: ERROR File = inet_v6defs.h, Line = 32 Declaration is incompatible with "const char *inet_ntop(int, const void *, char *, socklen_t)" (declared at line 89 of "/usr/include/arpa/inet.h"). extern const char *inet_ntop(int af, const void *src, char *dst, ^ 1 error detected in the compilation of "inet_pton.c". gmake[4]: *** [inet_pton.o] Error 2 On IRIX, the correct prototype is: extern const char *inet_ntop(int, const void *, char *, socklen_t); Rather than blindly replacing the prototype we detect if a prototype exists and define it only if one does not exist. svn path=/trunk/; revision=7218
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-3/+3
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2000-10-14Move inet_*.[ch] files to epan.Gilbert Ramirez1-0/+52
svn path=/trunk/; revision=2494