summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 02:35:58 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:26:47 +0200
commit771b7779b0ee3a5cc256643b1ff8c65eae6ad424 (patch)
tree3845b96c083eeff20f2b690809dd1be9d1d4186d
parent49179ec80872868f361ad58353c65fe63bac8a9c (diff)
downloadsamba-771b7779b0ee3a5cc256643b1ff8c65eae6ad424.tar.gz
samba-771b7779b0ee3a5cc256643b1ff8c65eae6ad424.tar.bz2
samba-771b7779b0ee3a5cc256643b1ff8c65eae6ad424.zip
afs: format afs_syscall() properly
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/include/proto.h6
-rw-r--r--source3/lib/afs_settoken.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 804575a2b0..8462bf7e09 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -45,11 +45,7 @@ char *afs_createtoken_str(const char *username, const char *cell);
/* The following definitions come from lib/afs_settoken.c */
-int afs_syscall( int subcall,
- const char * path,
- int cmd,
- char * cmarg,
- int follow);
+int afs_syscall(int subcall, const char *path, int cmd, char *cmarg, int follow);
bool afs_settoken_str(const char *token_string);
bool afs_settoken_str(const char *token_string);
diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c
index 77d9ace3d3..af15fa8b2e 100644
--- a/source3/lib/afs_settoken.c
+++ b/source3/lib/afs_settoken.c
@@ -34,11 +34,7 @@
#include <openssl/des.h>
#include <sys/syscall.h>
-int afs_syscall( int subcall,
- const char * path,
- int cmd,
- char * cmarg,
- int follow)
+int afs_syscall(int subcall, const char *path, int cmd, char *cmarg, int follow)
{
/*
return( syscall( SYS_afs_syscall, subcall, path, cmd, cmarg, follow));