summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-10-19 00:02:36 +0000
committerJeremy Allison <jra@samba.org>2001-10-19 00:02:36 +0000
commitb49b5b94818827da43dee53346ced84c789fd73d (patch)
treedbc9d3a2d5d636f1defdfd6c42f1abcefb2668ca
parentc416ff851b4ecc7a44aee9d00d07dd481d8ae2a7 (diff)
downloadsamba-b49b5b94818827da43dee53346ced84c789fd73d.tar.gz
samba-b49b5b94818827da43dee53346ced84c789fd73d.tar.bz2
samba-b49b5b94818827da43dee53346ced84c789fd73d.zip
client : Fixed error return.
uid.c: Added missing void. Jeremy. (This used to be commit c2e06ed2219860479868fd1ac18013ae4f891e10)
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/smbd/uid.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 1317346df3..f58f71f884 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -971,6 +971,8 @@ static int cmd_quit(void)
{
cli_shutdown(cli);
exit(0);
+ /* NOTREACHED */
+ return 0;
}
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index b1012c3c91..2151068de5 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -360,7 +360,7 @@ BOOL become_user(connection_struct *conn, uint16 vuid)
return True;
}
-BOOL unbecome_user()
+BOOL unbecome_user(void)
{
pop_sec_ctx();
pop_conn_ctx();