diff options
author | dos-reis <gdr@axiomatics.org> | 2008-05-22 14:43:09 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-05-22 14:43:09 +0000 |
commit | 3b89765b4d9c01a2f083e08b569e9b33b16ac617 (patch) | |
tree | 0c43dcb6f03008526b8a7b0ab97092dbe9788cdb /src/hyper/htadd.c | |
parent | 03b944b832df7e85d70756c6f583cd53e765d543 (diff) | |
download | open-axiom-3b89765b4d9c01a2f083e08b569e9b33b16ac617.tar.gz |
* hyper/hyper.h: Move lexing stuff to hyper/lex.h
* hyper/htadd.c: Don't include hyper.h. Include cfuns.h and
node.h instead.
Diffstat (limited to 'src/hyper/htadd.c')
-rw-r--r-- | src/hyper/htadd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c index 14ffe618..c1f8af14 100644 --- a/src/hyper/htadd.c +++ b/src/hyper/htadd.c @@ -39,16 +39,17 @@ #define _HTADD_C #include "openaxiom-c-macros.h" -#include "sockio.h" -#include "hyper.h" #include <sys/stat.h> #include <errno.h> #include <setjmp.h> +#include <stdlib.h> +#include "cfuns.h" #include "hash.h" #include "lex.h" +#include "sockio.h" #include "addfile.h" - +#include "node.h" static void add_file(char*, char*, int); static void add_new_pages(FILE*, FILE*, char*, char*); @@ -108,7 +109,7 @@ main(int argc, char **argv) build_db_filename(flag, db_dir, dbfilename); if (fresh) - unlink(dbfilename); + oa_unlink(dbfilename); if (flag & Delete) while (*fnames) |