summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 07:49:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:09 -0500
commit6674c834df5ecfe96d6ff6773bcc213de5e9f97c (patch)
treefcd9a5575c8009504421037649699b22de2c8cc6
parentdebce401eb31ee5b6ffe08af6ccfc0a8bfd07a11 (diff)
downloadsamba-6674c834df5ecfe96d6ff6773bcc213de5e9f97c.tar.gz
samba-6674c834df5ecfe96d6ff6773bcc213de5e9f97c.tar.bz2
samba-6674c834df5ecfe96d6ff6773bcc213de5e9f97c.zip
r1900: fix function prototypes
metze (This used to be commit a60b528b344132083a25f0a8d8718a4d4701198c)
-rw-r--r--source4/gtk/common/gtk-smb.c5
-rw-r--r--source4/gtk/common/select.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c
index 954f3f55be..7d15469c34 100644
--- a/source4/gtk/common/gtk-smb.c
+++ b/source4/gtk/common/gtk-smb.c
@@ -239,7 +239,7 @@ static void gtk_rpc_binding_dialog_init (GtkRpcBindingDialog *gtk_rpc_binding_di
gtk_widget_grab_default (btn_connect);
}
-GType gtk_rpc_binding_dialog_get_type ()
+GType gtk_rpc_binding_dialog_get_type (void)
{
static GType mytype = 0;
@@ -314,7 +314,7 @@ const char *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, char *pip
}
}
-GtkWidget* create_gtk_samba_about_dialog (char *appname)
+GtkWidget *create_gtk_samba_about_dialog (char *appname)
{
GtkWidget *samba_about_dialog;
GtkWidget *dialog_vbox1;
@@ -358,4 +358,3 @@ GtkWidget* create_gtk_samba_about_dialog (char *appname)
return samba_about_dialog;
}
-
diff --git a/source4/gtk/common/select.c b/source4/gtk/common/select.c
index fd8303241f..ad7b0ca1db 100644
--- a/source4/gtk/common/select.c
+++ b/source4/gtk/common/select.c
@@ -101,7 +101,7 @@ struct policy_handle gtk_select_domain_dialog_get_handle(GtkSelectDomainDialog *
return h;
}
-GType gtk_select_domain_dialog_get_type ()
+GType gtk_select_domain_dialog_get_type (void)
{
static GType mytype = 0;
@@ -246,7 +246,7 @@ void gtk_select_host_dialog_init (GtkSelectHostDialog *select_host_dialog)
GTK_WIDGET_SET_FLAGS (okbutton2, GTK_CAN_DEFAULT);
}
-GType gtk_select_host_dialog_get_type ()
+GType gtk_select_host_dialog_get_type (void)
{
static GType mytype = 0;