*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
-#include <netdissect-stdinc.h>
-
+#include "netdissect-stdinc.h"
#include "netdissect.h"
+#include <string.h>
+#include <stdio.h>
#ifdef USE_LIBSMI
#include <smi.h>
* Clears the error buffer, and uses it so we don't get
* "unused argument" warnings at compile time.
*/
- snprintf(errbuf, errbuf_size, "");
+ strlcpy(errbuf, "", errbuf_size);
return (0);
}