From 88ff3bdb3365ef7dfa4f1d7a39e6fbe60b235f1a Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Tue, 21 Sep 2010 06:30:21 +0000 Subject: [PATCH] Fixed some variable names to fit coding style guidelines. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38752 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/net/if.h | 2 +- headers/posix/sys/statvfs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }