History

[PATCH] i386: make functions static

This patch makes the following needlessly global functions static: - nmi_int.c: profile_exceptions_notify() - nmi_timer_int.c: profile_timer_exceptions_notify()

Adrian Bunk committed 20 years ago

Commit c7c19f81 parent fac58552 files · +4 −4Browse files

Unified · Split

2 files
  1. arch/i386/oprofile/nmi_int.c +2 −2
  2. arch/i386/oprofile/nmi_timer_int.c +2 −2
arch/i386/oprofile/nmi_int.c+2−2
@@ -83,8 +83,8 @@ static void exit_driverfs(void) · 82 unmodified lines
8383 #define exit_driverfs() do { } while (0)
8484 #endif /* CONFIG_PM */
8585
86−int profile_exceptions_notify(struct notifier_block *self,
87− unsigned long val, void *data)
86+static int profile_exceptions_notify(struct notifier_block *self,
87+ unsigned long val, void *data)
8888 {
8989 struct die_args *args = (struct die_args *)data;
9090 int ret = NOTIFY_DONE;
arch/i386/oprofile/nmi_timer_int.c+2−2
@@ -19,8 +19,8 @@ · 18 unmodified lines
1919 #include <asm/ptrace.h>
2020 #include <asm/kdebug.h>
2121
22−int profile_timer_exceptions_notify(struct notifier_block *self,
23− unsigned long val, void *data)
22+static int profile_timer_exceptions_notify(struct notifier_block *self,
23+ unsigned long val, void *data)
2424 {
2525 struct die_args *args = (struct die_args *)data;
2626 int ret = NOTIFY_DONE;