X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/32e24ead3b2a171e5f5eff50d7231c2514eda9b4..4c683712d4b483b43f16d41d09ec6232cbc917ca:/missing/getservent.c diff --git a/missing/getservent.c b/missing/getservent.c index 198644f2..4da24800 100644 --- a/missing/getservent.c +++ b/missing/getservent.c @@ -34,9 +34,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include @@ -65,9 +63,9 @@ const char *etc_path(const char *file) return (file); else #ifdef _WIN32 - nd_snprintf(path, sizeof(path), "%s%s%s", env, __PATH_ETC_INET, file); + snprintf(path, sizeof(path), "%s%s%s", env, __PATH_ETC_INET, file); #else - nd_snprintf(path, sizeof(path), "%s%s", env, file); + snprintf(path, sizeof(path), "%s%s", env, file); #endif return (path); }