]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/getiface.c
Merge remote branch 'sf/product-2-2' into develop
[netatalk.git] / libatalk / util / getiface.c
index 33947de7d8c9ced86d9e0762efedb02a8939e67d..bf79fff7f49e62f63983583aeb0b2b7cb4934d0c 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
-#ifdef HAVE_STDINT_H
 #include <stdint.h>
-#endif
-
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
@@ -117,7 +113,7 @@ static int getifaces(const int sockfd, char ***list)
  * Get interfaces from the kernel. we keep an extra null entry to signify
  * the end of the interface list. 
  */
-char **getifacelist()
+char **getifacelist(void)
 {
   char **list = NULL; /* FIXME */
   int  i, fd;