Skip to content

Commit

Permalink
[PATCH] notifier: profile.h forward decl fix
Browse files Browse the repository at this point in the history
Declarations use struct notifier_block on both legs of the ifdef, so move the
notifier_block forward declaration outside the ifdef.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 23, 2006
1 parent 91368d7 commit 772a0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/profile.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

struct proc_dir_entry;
struct pt_regs;
struct notifier_block;

/* init basic kernel profiler */
void __init profile_init(void);
Expand All @@ -32,7 +33,6 @@ enum profile_type {

#ifdef CONFIG_PROFILING

struct notifier_block;
struct task_struct;
struct mm_struct;

Expand Down

0 comments on commit 772a0dc

Please sign in to comment.