Author: scottmc Date: 2010-09-18 18:34:30 +0200 (Sat, 18 Sep 2010) New Revision: 38709 Changeset: http://dev.haiku-os.org/changeset/38709 Ticket: http://dev.haiku-os.org/ticket/5784 Modified: haiku/trunk/headers/posix/net/if.h haiku/trunk/headers/posix/sys/statvfs.h Log: Applied patch from obache, this partially fixes #5784. Modified: haiku/trunk/headers/posix/net/if.h =================================================================== --- haiku/trunk/headers/posix/net/if.h 2010-09-18 15:55:42 UTC (rev 38708) +++ haiku/trunk/headers/posix/net/if.h 2010-09-18 16:34:30 UTC (rev 38709) @@ -114,7 +114,7 @@ #endif unsigned if_nametoindex(const char* name); -char* if_indextoname(unsigned index, char* nameBuffer); +char* if_indextoname(unsigned, char* nameBuffer); struct if_nameindex* if_nameindex(void); void if_freenameindex(struct if_nameindex* interfaceArray); Modified: haiku/trunk/headers/posix/sys/statvfs.h =================================================================== --- haiku/trunk/headers/posix/sys/statvfs.h 2010-09-18 15:55:42 UTC (rev 38708) +++ haiku/trunk/headers/posix/sys/statvfs.h 2010-09-18 16:34:30 UTC (rev 38709) @@ -31,8 +31,8 @@ extern "C" { #endif -int statvfs(const char *path, struct statvfs *statvfs); -int fstatvfs(int fd, struct statvfs *statvfs); +int statvfs(const char *, struct statvfs *); +int fstatvfs(int, struct statvfs *); #ifdef __cplusplus }