From 1d5ff7fc31e1918827773ec30d1d374f3518c25f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Jul 2004 13:22:26 +0000 Subject: 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) --- source4/gtk/tools/gwcrontab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/gtk/tools/gwcrontab.c') diff --git a/source4/gtk/tools/gwcrontab.c b/source4/gtk/tools/gwcrontab.c index aef9c15b52..ba7d2bbcd4 100644 --- a/source4/gtk/tools/gwcrontab.c +++ b/source4/gtk/tools/gwcrontab.c @@ -31,7 +31,7 @@ GtkWidget *entry_repeat_weekly; GtkWidget *entry_repeat_monthly; GtkWidget *delete; -void update_joblist() +void update_joblist(void) { TALLOC_CTX *mem_ctx = talloc_init("update_joblist"); NTSTATUS status; -- cgit