diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-28 10:57:26 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-02-19 03:51:17 -0500 |
commit | cb80514d9c517cc1d101ef304529a0e9b76b4468 (patch) | |
tree | 25c9203d808ce322f13cdf62c98c29bcc49a69be /scripts/mod/modpost.h | |
parent | 06300b21f4c79fd1578f4b7ca4b314fbab61a383 (diff) |
kbuild: use warn()/fatal() consistent in modpost
modpost.c provides warn() and fatal() - so use them all over the place.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r-- | scripts/mod/modpost.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index 7334d839145d..c0de7b98c24c 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h | |||
@@ -91,17 +91,22 @@ struct elf_info { | |||
91 | unsigned int modinfo_len; | 91 | unsigned int modinfo_len; |
92 | }; | 92 | }; |
93 | 93 | ||
94 | /* file2alias.c */ | ||
94 | void handle_moddevtable(struct module *mod, struct elf_info *info, | 95 | void handle_moddevtable(struct module *mod, struct elf_info *info, |
95 | Elf_Sym *sym, const char *symname); | 96 | Elf_Sym *sym, const char *symname); |
96 | |||
97 | void add_moddevtable(struct buffer *buf, struct module *mod); | 97 | void add_moddevtable(struct buffer *buf, struct module *mod); |
98 | 98 | ||
99 | /* sumversion.c */ | ||
99 | void maybe_frob_rcs_version(const char *modfilename, | 100 | void maybe_frob_rcs_version(const char *modfilename, |
100 | char *version, | 101 | char *version, |
101 | void *modinfo, | 102 | void *modinfo, |
102 | unsigned long modinfo_offset); | 103 | unsigned long modinfo_offset); |
103 | void get_src_version(const char *modname, char sum[], unsigned sumlen); | 104 | void get_src_version(const char *modname, char sum[], unsigned sumlen); |
104 | 105 | ||
106 | /* from modpost.c */ | ||
105 | void *grab_file(const char *filename, unsigned long *size); | 107 | void *grab_file(const char *filename, unsigned long *size); |
106 | char* get_next_line(unsigned long *pos, void *file, unsigned long size); | 108 | char* get_next_line(unsigned long *pos, void *file, unsigned long size); |
107 | void release_file(void *file, unsigned long size); | 109 | void release_file(void *file, unsigned long size); |
110 | |||
111 | void fatal(const char *fmt, ...); | ||
112 | void warn(const char *fmt, ...); | ||