summaryrefslogtreecommitdiff
path: root/tables.c
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-10-21 23:52:35 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-10-21 23:52:35 +0000
commitee68ec7bce3d59f8a805ed67d7f0a8eb2798863b (patch)
tree64a4e9de6e4866c65d85f07ea10241ac666f4939 /tables.c
parentdd1f9bcf4715b7ec4f549ff0f33a5190042e6e27 (diff)
Added a missing function prototype.
Diffstat (limited to 'tables.c')
-rw-r--r--tables.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tables.c b/tables.c
index d7dc961..de1480f 100644
--- a/tables.c
+++ b/tables.c
@@ -57,6 +57,8 @@ int yytbl_write16 (struct yytbl_writer *wr, uint16_t v);
int yytbl_write8 (struct yytbl_writer *wr, uint8_t v);
int yytbl_writen (struct yytbl_writer *wr, void *v, int32_t len);
static int32_t yytbl_data_geti (const struct yytbl_data *tbl, int i);
+static int32_t yytbl_data_getijk (const struct yytbl_data *tbl, int i,
+ int j, int k);
/** Initialize the table writer.
@@ -335,8 +337,8 @@ int yytbl_write8 (struct yytbl_writer *wr, uint8_t v)
* @param k index into struct, must be 0 or 1. Only valid for YYTD_ID_TRANSITION table
* @return data[i][j + k]
*/
-int32_t yytbl_data_getijk (const struct yytbl_data * tbl, int i, int j,
- int k)
+static int32_t yytbl_data_getijk (const struct yytbl_data *tbl, int i,
+ int j, int k)
{
int32_t lo;