git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232273b
)
s3/lib: don't rely on implicit int return type
author
David Disseldorp
<ddiss@samba.org>
Sat, 26 Jan 2019 23:41:28 +0000
(
00:41
+0100)
committer
David Disseldorp
<ddiss@samba.org>
Mon, 28 Jan 2019 23:29:17 +0000
(
00:29
+0100)
C99 removed this behaviour.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/util_sec.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sec.c
b/source3/lib/util_sec.c
index 94082697deffdebd1cf27763b6659fa8b2ea383e..1eac7d711b85f979434f139926039e0c745025a6 100644
(file)
--- a/
source3/lib/util_sec.c
+++ b/
source3/lib/util_sec.c
@@
-549,7
+549,7
@@
static int have_syscall(void)
return 0;
}
-
main(
)
+
int main(void
)
{
if (getuid() != 0) {
#if (defined(AIX) && defined(USE_SETREUID))