]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/unix.c
Integrate talloc from Samba, cleanup configure functions checks
[netatalk.git] / etc / afpd / unix.c
index 8f1fca20aa47e673425360a2d3a79389ed6ce256..b1ddfd919dd93c642b8390a1b84e044ca3ca7225 100644 (file)
@@ -9,24 +9,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-
-/* STDC check */
-#ifdef 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 */
-
 #include <errno.h>
 #include <limits.h>
 #include <sys/param.h>