summaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-01 14:57:21 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-06-06 23:38:13 +0900
commit75893572d45399cefbb88443d0878adae9cb0b41 (patch)
treeb44605122fe167266896b276d7855e876e1569dc /scripts/mod/modpost.h
parent70f30cfe5b892fcb7f98e7df72ed6ccfe3225628 (diff)
downloadlinux-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.h3
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,