mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
modpost: remove get_next_text() and make {grab,release_}file static
get_next_line() is no longer used. Remove. grab_file() and release_file() are only used in modpost.c. Make them static. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
70f30cfe5b
commit
75893572d4
2 changed files with 2 additions and 39 deletions
|
@ -193,9 +193,6 @@ void get_src_version(const char *modname, char sum[], unsigned sumlen);
|
|||
/* from modpost.c */
|
||||
char *read_text_file(const char *filename);
|
||||
char *get_line(char **stringp);
|
||||
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);
|
||||
|
||||
enum loglevel {
|
||||
LOG_WARN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue