From: Dmitry Kovalenko Date: Wed, 9 Feb 2011 11:20:33 +0000 (+0300) Subject: Minor fix. X-Git-Tag: Tizen_SDK_2.3~886 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=329e8e70489e9ef9f1d60661e5d523f673d315ed;p=kernel%2Fswap-modules.git Minor fix. --- diff --git a/driver/storage.h b/driver/storage.h index f8342ad..fcc7e3e 100644 --- a/driver/storage.h +++ b/driver/storage.h @@ -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. diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index d232421..8744d4b 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -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);