diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-28 16:57:26 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-02-19 09:51:17 +0100 |
commit | cb80514d9c517cc1d101ef304529a0e9b76b4468 (patch) | |
tree | 25c9203d808ce322f13cdf62c98c29bcc49a69be /scripts/mod/modpost.h | |
parent | 06300b21f4c79fd1578f4b7ca4b314fbab61a383 (diff) | |
download | linux-3.10-cb80514d9c517cc1d101ef304529a0e9b76b4468.tar.gz linux-3.10-cb80514d9c517cc1d101ef304529a0e9b76b4468.tar.bz2 linux-3.10-cb80514d9c517cc1d101ef304529a0e9b76b4468.zip |
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 7334d839145..c0de7b98c24 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -91,17 +91,22 @@ struct elf_info { unsigned int modinfo_len; }; +/* file2alias.c */ void handle_moddevtable(struct module *mod, struct elf_info *info, Elf_Sym *sym, const char *symname); - void add_moddevtable(struct buffer *buf, struct module *mod); +/* sumversion.c */ void maybe_frob_rcs_version(const char *modfilename, char *version, void *modinfo, unsigned long modinfo_offset); void get_src_version(const char *modname, char sum[], unsigned sumlen); +/* from modpost.c */ void *grab_file(const char *filename, unsigned long *size); char* get_next_line(unsigned long *pos, void *file, unsigned long size); void release_file(void *file, unsigned long size); + +void fatal(const char *fmt, ...); +void warn(const char *fmt, ...); |