From 06e0744f363f8ead202ce769a73431dfc2572fcc Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 27 Dec 2016 20:17:56 +1000 Subject: [PATCH] * remove excess extern keyword --- src/database.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/database.h b/src/database.h index 0380c30..bf47cb3 100644 --- a/src/database.h +++ b/src/database.h @@ -92,15 +92,15 @@ typedef struct { * @return 1 on success, 0 if record not used * and -1 if record number not exists, */ -extern int imdb_read_rec (imdb_db_t *db, imdb_rec_t *rec); -extern int imdb_write_rec(imdb_db_t *db, imdb_rec_t *rec); +int imdb_read_rec (imdb_db_t *db, imdb_rec_t *rec); +int imdb_write_rec(imdb_db_t *db, imdb_rec_t *rec); -extern int imdb_read_blk (imdb_db_t *db, imdb_block_t *blk); -extern int imdb_write_blk(imdb_db_t *db, imdb_block_t *blk); +int imdb_read_blk (imdb_db_t *db, imdb_block_t *blk); +int imdb_write_blk(imdb_db_t *db, imdb_block_t *blk); -extern int imdb_init (imdb_db_t *db, const char *path); -extern int imdb_open (imdb_db_t *db, const char *path, int write); -extern int imdb_close(imdb_db_t *db); +int imdb_init (imdb_db_t *db, const char *path); +int imdb_open (imdb_db_t *db, const char *path, int write); +int imdb_close(imdb_db_t *db); float ratio_from_rec_data(unsigned char * const data); @@ -111,7 +111,7 @@ ratio_from_rec_data(unsigned char * const data); 0 if nothing found >0 if found some matches */ -extern int +int imdb_search(imdb_db_t * const db, imdb_rec_t * const sample, imdb_search_t * const search,