modpost.h (f83d9396d1f63048c423efa00e4e244da10a35fd) modpost.h (abe864b8e19adf33b48997de8bc1a8f095390ade)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <stdbool.h>
3#include <stdio.h>
4#include <stdlib.h>
5#include <stdarg.h>
6#include <string.h>
7#include <sys/types.h>
8#include <sys/stat.h>

--- 173 unchanged lines hidden (view full) ---

182void add_moddevtable(struct buffer *buf, struct module *mod);
183
184/* sumversion.c */
185void get_src_version(const char *modname, char sum[], unsigned sumlen);
186
187/* from modpost.c */
188char *read_text_file(const char *filename);
189char *get_line(char **stringp);
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <stdbool.h>
3#include <stdio.h>
4#include <stdlib.h>
5#include <stdarg.h>
6#include <string.h>
7#include <sys/types.h>
8#include <sys/stat.h>

--- 173 unchanged lines hidden (view full) ---

182void add_moddevtable(struct buffer *buf, struct module *mod);
183
184/* sumversion.c */
185void get_src_version(const char *modname, char sum[], unsigned sumlen);
186
187/* from modpost.c */
188char *read_text_file(const char *filename);
189char *get_line(char **stringp);
190void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym);
190
191enum loglevel {
192 LOG_WARN,
193 LOG_ERROR,
194 LOG_FATAL
195};
196
197void modpost_log(enum loglevel loglevel, const char *fmt, ...);

--- 17 unchanged lines hidden ---
191
192enum loglevel {
193 LOG_WARN,
194 LOG_ERROR,
195 LOG_FATAL
196};
197
198void modpost_log(enum loglevel loglevel, const char *fmt, ...);

--- 17 unchanged lines hidden ---