diff options
Diffstat (limited to 'Build/source/utils/songs/songs-2.17-PATCHES/patch-01-protos')
-rw-r--r-- | Build/source/utils/songs/songs-2.17-PATCHES/patch-01-protos | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/utils/songs/songs-2.17-PATCHES/patch-01-protos b/Build/source/utils/songs/songs-2.17-PATCHES/patch-01-protos new file mode 100644 index 00000000000..6ff7af9397f --- /dev/null +++ b/Build/source/utils/songs/songs-2.17-PATCHES/patch-01-protos @@ -0,0 +1,41 @@ +diff -ur songs-2.17.orig/src/songidx/songidx.c songs-2.17/src/songidx/songidx.c +--- songs-2.17.orig/src/songidx/songidx.c 2013-01-02 21:06:06.000000000 +0100 ++++ songs-2.17/src/songidx/songidx.c 2013-12-19 14:45:31.000000000 +0100 +@@ -64,11 +64,6 @@ + #endif + #endif + +-extern int gentitleindex(FSTATE *fs, const char *outname); +-extern int genscriptureindex(FSTATE *fs, const char *outname, +- const char *biblename); +-extern int genauthorindex(FSTATE *fs, const char *outname); +- + #define BIBLEDEFAULT "bible.can" + + #if HAVE_STRRCHR +diff -ur songs-2.17.orig/src/songidx/songidx.h songs-2.17/src/songidx/songidx.h +--- songs-2.17.orig/src/songidx/songidx.h 2013-01-02 21:06:12.000000000 +0100 ++++ songs-2.17/src/songidx/songidx.h 2013-12-19 14:48:20.000000000 +0100 +@@ -29,6 +29,7 @@ + #endif + + #include "chars.h" ++#include "fileio.h" + + /* A SONGENTRY struct consists of three fields: + * title: a string representing the title of the song +@@ -50,4 +51,14 @@ + extern void skipesc(const WCHAR **p, int stop_on_space, int skipover_groups); + extern int songcmp(const void *s1, const void *s2); + ++/* The following function is in titleidx.c */ ++extern int gentitleindex(FSTATE *fs, const char *outname); ++ ++/* The following function is in scripidx.c */ ++extern int genscriptureindex(FSTATE *fs, const char *outname, ++ const char *biblename); ++ ++/* The following function is in authidx.c */ ++extern int genauthorindex(FSTATE *fs, const char *outname); ++ + #endif |