Change function definition from K&R to prototype. Fix prototype warnings.
[bpt/emacs.git] / lwlib / lwlib-int.h
index b786bbb..e84d7fb 100644 (file)
@@ -58,8 +58,7 @@ typedef struct _widget_info
   struct _widget_info*         next;
 } widget_info;
 
-typedef Widget
-(*widget_creation_function) ();
+typedef Widget (*widget_creation_function) (widget_instance *instance);
 
 typedef struct _widget_creation_entry
 {