diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-17 20:21:09 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-17 20:21:09 +0100 |
commit | 0e19f080df49504d78fd6c9a2ce91b8819255818 (patch) | |
tree | 523d50d8f87169d66412773ce51090cd19d6d3fc | |
parent | e5a623ef44dd07c29ec3e985ac9307fe52898b67 (diff) |
Fixed prototypes in pg.h.
-rw-r--r-- | parsing.c | 2 | ||||
-rw-r--r-- | pg.h | 3 | ||||
-rw-r--r-- | pg.pgc | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -357,7 +357,7 @@ void process() { struct channel_t *channel = channel_get(chan_i); int channel_id = pg_channel_get(channel); pg_users_get(channel_id); - pg_word_get(channel_id); + pg_words_get(channel_id); printf("Channel %s\n", channel->name); struct channel_file_t *file = channel->files; while(file) { @@ -15,6 +15,7 @@ long pg_channel_file_get(int channel_id, struct channel_file_t *file); void pg_channel_file_set(int channel_id, struct channel_file_t *file, long pos); void pg_user_set(int channel_id, struct user_t *user); void pg_users_get(int channel_id); -void pg_words_set(int channel); +void pg_word_set(int channel, struct word_t *word); +void pg_words_get(int channel); #endif @@ -301,7 +301,7 @@ void pg_word_set(int channel, struct word_t *word) { EXEC SQL COMMIT; } -void pg_word_get(int channel) { +void pg_words_get(int channel) { EXEC SQL BEGIN DECLARE SECTION; int channel_id = channel, id = 0, count; VARCHAR name[0x400]; |