diff --git a/headers/posix/net/if.h b/headers/posix/net/if.h index 686b043626..85ce14c222 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 ifindex, char* nameBuffer); +char* if_indextoname(unsigned interfaceIndex, 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 ff7cb452b1..01fced69dc 100644 --- a/headers/posix/sys/statvfs.h +++ b/headers/posix/sys/statvfs.h @@ -1,5 +1,5 @@ /* - * Copyright 2005, Haiku, Inc. All Rights Reserved. + * Copyright 2005-2010, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _STAT_VFS_H_ @@ -31,8 +31,8 @@ struct statvfs { extern "C" { #endif -int statvfs(const char *path, struct statvfs *buf); -int fstatvfs(int fildes, struct statvfs *buf); +int statvfs(const char *path, struct statvfs *buffer); +int fstatvfs(int descriptor, struct statvfs *buffer); #ifdef __cplusplus }