From e4f329443de6ebad4f9a19fc9ab1bd68eb76eb81 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 24 Feb 2013 19:12:02 +0100 Subject: [PATCH] inpcom.c: rename find_lib_name() --> find_section() --- src/frontend/inpcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 229122564..d9867ed10 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -114,7 +114,7 @@ find_lib(char *s) static int -find_lib_name(int i, char *s) { +find_section(int i, char *s) { int j; for (j = 0; j < num_lib_names[i]; j++) if (strcmp(library_name[i][j], s) == 0) @@ -240,7 +240,7 @@ expand_libs(int line_number) *t = '\0'; /* see if library we want to copy */ - j = find_lib_name(i, s); + j = find_section(i, s); found_lib_name = (j >= 0); @@ -2395,7 +2395,7 @@ inp_determine_libraries(struct line *deck, char *lib_name) } i = find_lib(s); if (i >= 0) - if (find_lib_name(i, y) < 0) { + if (find_section(i, y) < 0) { new_lib_name(i, y, c); /* see if other libraries referenced */ inp_determine_libraries(libraries[i], y);