svn rev #3320: branches/krb5-appl-1-0/tests/resolve/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Jul 11 15:33:37 EDT 2011
Commit By: ghudson
Log Message:
------------------------------------------------------------------------
r3311 | ghudson | 2011-07-11 15:06:22 -0400 (Mon, 11 Jul 2011) | 2 lines
Simplify tests/resolve.c include logic by assuming string.h.
Changed Files:
U branches/krb5-appl-1-0/tests/resolve/resolve.c
Modified: branches/krb5-appl-1-0/tests/resolve/resolve.c
===================================================================
--- branches/krb5-appl-1-0/tests/resolve/resolve.c 2011-07-11 19:33:00 UTC (rev 3319)
+++ branches/krb5-appl-1-0/tests/resolve/resolve.c 2011-07-11 19:33:37 UTC (rev 3320)
@@ -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