diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-01 14:57:21 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-06 23:38:13 +0900 |
commit | 75893572d45399cefbb88443d0878adae9cb0b41 (patch) | |
tree | b44605122fe167266896b276d7855e876e1569dc /scripts/mod/modpost.h | |
parent | 70f30cfe5b892fcb7f98e7df72ed6ccfe3225628 (diff) | |
download | linux-75893572d45399cefbb88443d0878adae9cb0b41.tar.bz2 |
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>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r-- | scripts/mod/modpost.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index f4412febcd13..bc524506d2f9 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -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, |