svn rev #3311: trunk/tests/resolve/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Jul 11 15:06:22 EDT 2011
Commit By: ghudson
Log Message:
Simplify tests/resolve.c include logic by assuming string.h.
Changed Files:
U trunk/tests/resolve/resolve.c
Modified: trunk/tests/resolve/resolve.c
===================================================================
--- trunk/tests/resolve/resolve.c 2011-07-11 19:05:25 UTC (rev 3310)
+++ trunk/tests/resolve/resolve.c 2011-07-11 19:06:22 UTC (rev 3311)
@@ -43,15 +43,7 @@
#include "autoconf.h"
#include <stdio.h>
-
-#if STDC_HEADERS
#include <string.h>
-#else
-#ifndef HAVE_STRCHR
-#define strchr index
-#endif
-char *strchr();
-#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
More information about the Krb5-appl-commits
mailing list