diff options
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r-- | include/linux/binfmts.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 0092102db2de..366422bc1633 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h | |||
@@ -92,17 +92,17 @@ struct linux_binfmt { | |||
92 | unsigned long min_coredump; /* minimal dump size */ | 92 | unsigned long min_coredump; /* minimal dump size */ |
93 | }; | 93 | }; |
94 | 94 | ||
95 | extern int __register_binfmt(struct linux_binfmt *fmt, int insert); | 95 | extern void __register_binfmt(struct linux_binfmt *fmt, int insert); |
96 | 96 | ||
97 | /* Registration of default binfmt handlers */ | 97 | /* Registration of default binfmt handlers */ |
98 | static inline int register_binfmt(struct linux_binfmt *fmt) | 98 | static inline void register_binfmt(struct linux_binfmt *fmt) |
99 | { | 99 | { |
100 | return __register_binfmt(fmt, 0); | 100 | __register_binfmt(fmt, 0); |
101 | } | 101 | } |
102 | /* Same as above, but adds a new binfmt at the top of the list */ | 102 | /* Same as above, but adds a new binfmt at the top of the list */ |
103 | static inline int insert_binfmt(struct linux_binfmt *fmt) | 103 | static inline void insert_binfmt(struct linux_binfmt *fmt) |
104 | { | 104 | { |
105 | return __register_binfmt(fmt, 1); | 105 | __register_binfmt(fmt, 1); |
106 | } | 106 | } |
107 | 107 | ||
108 | extern void unregister_binfmt(struct linux_binfmt *); | 108 | extern void unregister_binfmt(struct linux_binfmt *); |