summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gwsam.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-07-12 13:22:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:33 -0500
commit1d5ff7fc31e1918827773ec30d1d374f3518c25f (patch)
tree2a20142bbad9081c611f655b8fc31d23399f6781 /source4/gtk/tools/gwsam.c
parentfd7ac5ad4c7c055d4fad6640c49ec7c852ad3053 (diff)
downloadsamba-1d5ff7fc31e1918827773ec30d1d374f3518c25f.tar.gz
samba-1d5ff7fc31e1918827773ec30d1d374f3518c25f.tar.bz2
samba-1d5ff7fc31e1918827773ec30d1d374f3518c25f.zip
r1465: always do a full C prototype, even if its only (void).
this declaration: int foo(); is *not* the same as this one: int foo(void); the first means "I don't know what arguments it takes". The second means "it takes no arguments" (This used to be commit 6724932810772a10e7e51d2f6f2b106c02eafb73)
Diffstat (limited to 'source4/gtk/tools/gwsam.c')
-rw-r--r--source4/gtk/tools/gwsam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 9df9698ba9..a8cf3f2a45 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -27,13 +27,13 @@ struct dcerpc_pipe *sam_pipe = NULL;
struct policy_handle domain_handle;
GtkWidget *mainwin;
-void update_grouplist()
+void update_grouplist(void)
{
if(!sam_pipe) return;
//FIXME
}
-void update_userlist()
+void update_userlist(void)
{
NTSTATUS status;
struct samr_EnumDomainUsers r;