Minor fix.
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Wed, 9 Feb 2011 11:20:33 +0000 (14:20 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Wed, 9 Feb 2011 11:20:33 +0000 (14:20 +0300)
driver/storage.h
driver/us_proc_inst.c

index f8342ad..fcc7e3e 100644 (file)
@@ -61,10 +61,10 @@ extern void storage_down (void);
 extern void pack_event_info (probe_id_t probe_id, record_type_t record_type, const char *fmt, ...);
 
 /* Set most links from us_proc_info to data in the bundle */
-int link_bundle();
+int link_bundle(void);
 
 /* Undo the actions of link_bundle() */
-void unlink_bundle();
+void unlink_bundle(void);
 
 /*
     Adds non-predefined kernel probe to the list.
index d232421..8744d4b 100644 (file)
@@ -874,7 +874,7 @@ EXPORT_PER_CPU_SYMBOL_GPL(gpUserRegs);
 // XXX MCPP: introduced custom default handlers defined in (exported from) another kernel module(s)
 unsigned long (* ujprobe_event_pre_handler_custom_p)(us_proc_ip_t *, struct pt_regs *) = NULL;
 EXPORT_SYMBOL(ujprobe_event_pre_handler_custom_p);
-void (* ujprobe_event_handler_custom_p)() = NULL;
+void (* ujprobe_event_handler_custom_p)(void) = NULL;
 EXPORT_SYMBOL(ujprobe_event_handler_custom_p);
 int (* uretprobe_event_handler_custom_p)(struct kretprobe_instance *, struct pt_regs *, us_proc_ip_t *) = NULL;
 EXPORT_SYMBOL(uretprobe_event_handler_custom_p);