summaryrefslogtreecommitdiff
path: root/doc/README.developer
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-07-18 22:36:55 +0000
committerJörg Mayer <jmayer@loplof.de>2004-07-18 22:36:55 +0000
commit1d645fc8c20fc5960ac3ec940f7df3f9cf61598e (patch)
tree079ebc275ad83e5a7d26ee5b3a304e4c86d2d875 /doc/README.developer
parent66e486054a3083c5bc6ae02145d837380d52b964 (diff)
downloadwireshark-1d645fc8c20fc5960ac3ec940f7df3f9cf61598e.tar.gz
SNPRINTF isn't used any more - remove from sample dissector
and coding guidelines. svn path=/trunk/; revision=11418
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 35fc8e823b..cf2b3407fb 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -365,13 +365,14 @@ You may not need to include all the headers listed in the skeleton
below, and you may need to include additional headers. For example, the
code inside
- #ifdef NEED_SNPRINTF_H
+ #ifdef HAVE_LIBPCRE
...
#endif
-is needed only if you are using the "snprintf()" function.
+is needed only if you are using a function from libpcre, e.g. the
+"pcre_compile()" function.
The "$Id$"
in the comment will be updated by CVS when the file is
@@ -424,10 +425,6 @@ CVS repository (checked in).
#include <glib.h>
-#ifdef NEED_SNPRINTF_H
-# include "snprintf.h"
-#endif
-
#include <epan/packet.h>
/* IF PROTO exposes code to other dissectors, then it must be exported