]> arthur.barton.de Git - netatalk.git/commitdiff
Warning fixes, header cleanup.
authorsrittau <srittau>
Mon, 17 Feb 2003 02:04:59 +0000 (02:04 +0000)
committersrittau <srittau>
Mon, 17 Feb 2003 02:04:59 +0000 (02:04 +0000)
bin/afppasswd/afppasswd.c

index 78d8320506cb2e3a826d2c94e7c2f2a3751087ef..523b433c7da7ee0f480458a8fb56e80a270bd992 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * $Id: afppasswd.c,v 1.10 2003-01-21 16:31:38 srittau Exp $
+ * $Id: afppasswd.c,v 1.11 2003-02-17 02:04:59 srittau Exp $
  *
  * Copyright 1999 (c) Adrian Sun (asun@u.washington.edu)
  * All Rights Reserved. See COPYRIGHT.
 #include "config.h"
 #endif /* HAVE_CONFIG_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 */
-
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <errno.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>