Skip to content

Commit

Permalink
fs/signalfd.c should #include <linux/syscalls.h>
Browse files Browse the repository at this point in the history
Every file should include the headers containing the prototypes for its global
functions (in this case sys_signalfd()).

Signed-off-by: Adrian Bunk <[email protected]>
Cc: Davide Libenzi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Feb 6, 2008
1 parent 12c2ab5 commit 7ec37df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/signalfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/list.h>
#include <linux/anon_inodes.h>
#include <linux/signalfd.h>
#include <linux/syscalls.h>

struct signalfd_ctx {
sigset_t sigmask;
Expand Down

0 comments on commit 7ec37df

Please sign in to comment.