summaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-23 08:39:51 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-23 08:39:51 +0000
commitf85a71050ac1ea774204b24a68f679f5e6976def (patch)
tree75674953586315c929d6fd15f8911f8031c37d91 /iconv
parent4f9f00653dbd7b20f36f026bb55be5344e8a1f62 (diff)
downloadglibc-f85a71050ac1ea774204b24a68f679f5e6976def.tar.gz
Add prototypes to avoid warnings.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/strtab.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/iconv/strtab.c b/iconv/strtab.c
index 49fb254454..d567f57e88 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -68,6 +68,24 @@ static size_t ps;
extern void *xmalloc (size_t n) __attribute_malloc__;
+/* Prototypes for our functions that are used from iconvconfig.c. If
+ you change these, change also iconvconfig.c. */
+/* Create new C string table object in memory. */
+extern struct Strtab *strtabinit (void);
+
+/* Free resources allocated for C string table ST. */
+extern void strtabfree (struct Strtab *st);
+
+/* Add string STR (length LEN is != 0) to C string table ST. */
+extern struct Strent *strtabadd (struct Strtab *st, const char *str,
+ size_t len);
+
+/* Finalize string table ST and store size in *SIZE and return a pointer. */
+extern void *strtabfinalize (struct Strtab *st, size_t *size);
+
+/* Get offset in string table for string associated with SE. */
+extern size_t strtaboffset (struct Strent *se);
+
struct Strtab *
strtabinit (void)