aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-27 01:02:03 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-27 01:02:03 +0000
commit9b56028ade5092f8d0a551a6d23a2323e30d78d5 (patch)
tree82e2a1f91ee907aecbe5226cb7dbae3408c1d658 /epan/dissectors/packet-afp.c
parent10844226cf80b0e6094f200ec57dff45436d6b1f (diff)
*Removing* an include is usally not the right way of removing warnings;
if some function takes, for example, a "char *" as an argument, but you're passing it an "unsigned char *", you don't squelch the warning by removing the include of the header that declares that function (you then get warnings about the function not being declared, at least with some compilers), you put in a cast (if the signedness doesn't matter) or arrange that you pass a "char *". svn path=/trunk/; revision=15110
Diffstat (limited to 'epan/dissectors/packet-afp.c')
-rw-r--r--epan/dissectors/packet-afp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afp.c b/epan/dissectors/packet-afp.c
index fc2e35f200..3cad7c4f79 100644
--- a/epan/dissectors/packet-afp.c
+++ b/epan/dissectors/packet-afp.c
@@ -36,7 +36,7 @@
# include "snprintf.h"
#endif
-/* #include <string.h> */
+#include <string.h>
#include <glib.h>
#include <epan/packet.h>
/* #include <epan/strutil.h> */