summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/search.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-17 16:38:00 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-17 16:38:00 +0000
commitef6828db3f74d9c0ad7e0d9dff1e849a39bf90ff (patch)
tree2898b7310974bad5608830db80c53322e1fbff53 /Build/source/texk/seetexk/search.h
parent69b31bc5a79ddff0b4b89009022ab9f3767069a9 (diff)
enable compiler warnings
use ANSI C functions prototypes avoid compiler warnings git-svn-id: svn://tug.org/texlive/trunk@13782 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk/search.h')
-rw-r--r--Build/source/texk/seetexk/search.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/seetexk/search.h b/Build/source/texk/seetexk/search.h
index 864649c8dfb..a3e7558e5ce 100644
--- a/Build/source/texk/seetexk/search.h
+++ b/Build/source/texk/seetexk/search.h
@@ -15,10 +15,10 @@ struct search {
};
/* returns a pointer to the search table (for future search/installs) */
-struct search *SCreate(); /* create a search table */
+struct search *SCreate(unsigned int dsize); /* create a search table */
/* returns a pointer to the data object found or created */
-char *SSearch(); /* search for a data object */
+char *SSearch(struct search *s, i32 key, int *disp); /* search for a data object */
/* clears a search table (wipes out all entries) */
#define SClear(s) ((s)->s_space += (s)->s_n, (s)->s_n = 0)
@@ -34,4 +34,4 @@ char *SSearch(); /* search for a data object */
#define S_NEW 0x10 /* created (occurs iff S_CREATE && !S_EXCL) */
#define S_ERROR 0x20 /* problem creating (out of memory) */
-void SEnumerate();
+void SEnumerate(struct search *s, void(*f)(char*,i32));