From f458b8c07b521cfb48152e5d3344cd22989aa4ab Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 7 Dec 2004 16:46:42 +0000 Subject: cleanup --- util/fusermount.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'util/fusermount.c') diff --git a/util/fusermount.c b/util/fusermount.c index 5334ada..86b7c6c 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -63,12 +63,12 @@ for this program. And anyway what's all this fuss about versioning the kernel interface? It is quite good as is. */ #define _LINUX_CAPABILITY_VERSION 0x19980330 -typedef struct __user_cap_header_struct { +typedef struct user_cap_header_struct { unsigned int version; int pid; } *cap_user_header_t; -typedef struct __user_cap_data_struct { +typedef struct user_cap_data_struct { unsigned int effective; unsigned int permitted; unsigned int inheritable; @@ -81,13 +81,13 @@ int capset(cap_user_header_t header, cap_user_data_t data); static uid_t oldfsuid; static gid_t oldfsgid; -static struct __user_cap_data_struct oldcaps; +static struct user_cap_data_struct oldcaps; static int drop_privs(void) { int res; - struct __user_cap_header_struct head; - struct __user_cap_data_struct newcaps; + struct user_cap_header_struct head; + struct user_cap_data_struct newcaps; head.version = _LINUX_CAPABILITY_VERSION; head.pid = 0; @@ -119,7 +119,7 @@ static int drop_privs(void) static void restore_privs(void) { - struct __user_cap_header_struct head; + struct user_cap_header_struct head; int res; head.version = _LINUX_CAPABILITY_VERSION; -- cgit v1.2.3