]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/filedir.c
Integrate talloc from Samba, cleanup configure functions checks
[netatalk.git] / etc / afpd / filedir.c
index be7056a796ab9c0729d1b8d4307c54ca5f3818d8..ebde9655e6ef754816621813d6912eee60b0909c 100644 (file)
@@ -9,21 +9,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-/* STDC check */
-#if STDC_HEADERS
 #include <string.h>
-#else /* STDC_HEADERS */
-#ifndef HAVE_STRCHR
-#define strchr index
-#define strrchr index
-#endif /* HAVE_STRCHR */
-char *strchr (), *strrchr ();
-#ifndef HAVE_MEMCPY
-#define memcpy(d,s,n) bcopy ((s), (d), (n))
-#define memmove(d,s,n) bcopy ((s), (d), (n))
-#endif /* ! HAVE_MEMCPY */
-#endif /* STDC_HEADERS */
-
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif