From 8e19103a0fc8dbb7733fc0c2d96f0dfb770552a1 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 18 Sep 2010 16:34:30 +0000 Subject: [PATCH] Applied patch from obache, this partially fixes #5784. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38709 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/net/if.h | 2 +- headers/posix/sys/statvfs.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/posix/net/if.h b/headers/posix/net/if.h index a7edb673e9..8186a62952 100644 --- a/headers/posix/net/if.h +++ b/headers/posix/net/if.h @@ -114,7 +114,7 @@ extern "C" { #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); diff --git a/headers/posix/sys/statvfs.h b/headers/posix/sys/statvfs.h index 542add1bdd..e36b4f2fa0 100644 --- a/headers/posix/sys/statvfs.h +++ b/headers/posix/sys/statvfs.h @@ -31,8 +31,8 @@ struct statvfs { 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 }