aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r--scripts/mod/modpost.h7
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 */
94void handle_moddevtable(struct module *mod, struct elf_info *info, 95void handle_moddevtable(struct module *mod, struct elf_info *info,
95 Elf_Sym *sym, const char *symname); 96 Elf_Sym *sym, const char *symname);
96
97void add_moddevtable(struct buffer *buf, struct module *mod); 97void add_moddevtable(struct buffer *buf, struct module *mod);
98 98
99/* sumversion.c */
99void maybe_frob_rcs_version(const char *modfilename, 100void 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);
103void get_src_version(const char *modname, char sum[], unsigned sumlen); 104void get_src_version(const char *modname, char sum[], unsigned sumlen);
104 105
106/* from modpost.c */
105void *grab_file(const char *filename, unsigned long *size); 107void *grab_file(const char *filename, unsigned long *size);
106char* get_next_line(unsigned long *pos, void *file, unsigned long size); 108char* get_next_line(unsigned long *pos, void *file, unsigned long size);
107void release_file(void *file, unsigned long size); 109void release_file(void *file, unsigned long size);
110
111void fatal(const char *fmt, ...);
112void warn(const char *fmt, ...);