From 607c0aaaa438414a64e8201c34cccc2c28cabf72 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 12 Jul 2011 00:11:17 -0500 Subject: [PATCH] UKERNEL: Avoid using parameters named "new" Alter the prototypes in afs_usrops.h to avoid using the name "new", in order to make the header usable by C++ code. Change-Id: I21165b5c1e33e9229172d9f8e797d65fc954bb77 Reviewed-on: http://gerrit.openafs.org/5038 Reviewed-by: Garrett Wollman Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/UKERNEL/afs_usrops.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/afs/UKERNEL/afs_usrops.h b/src/afs/UKERNEL/afs_usrops.h index 15bcc24f6..dc59541df 100644 --- a/src/afs/UKERNEL/afs_usrops.h +++ b/src/afs/UKERNEL/afs_usrops.h @@ -118,10 +118,10 @@ extern int uafs_rmdir(char *path); extern int uafs_rmdir_r(char *path); extern int uafs_readlink(char *path, char *buf, int len); extern int uafs_readlink_r(char *path, char *buf, int len); -extern int uafs_link(char *existing, char *new); -extern int uafs_link_r(char *existing, char *new); -extern int uafs_rename(char *old, char *new); -extern int uafs_rename_r(char *old, char *new); +extern int uafs_link(char *existing, char *newfile); +extern int uafs_link_r(char *existing, char *newfile); +extern int uafs_rename(char *old, char *newfile); +extern int uafs_rename_r(char *old, char *newfile); extern int uafs_FlushFile(char *path); extern int uafs_FlushFile_r(char *path); extern usr_DIR *uafs_opendir(char *path); -- 2.39.5