From 792e7b4e6ec894f93a8fbe51ccf6c155997c69ec Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 1 Apr 2008 07:38:50 +0000 Subject: * include/nagman.H1: Remove. * include/session.H1: Move content to sman/session.c. Remove. * sman/session.c: Don't include "session.H1" anymore. * sman/spadclient.c: Don't include "spadclient.H1" anymore. * include/spadclient.H1: Remove. * include/spadbuf.H1: Move content to hyper/spadbuf.c. Remove. * hyper/spadbuf.c: Don't include "spadbuf.H1" anymore. * hyper/htadd.c: Don't include "htadd.H1" anymore. * include/htadd.H1: Move content to hyper/htadd.c. Remove. --- src/hyper/htadd.c | 12 +++++++++++- src/hyper/spadbuf.c | 5 ++++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'src/hyper') diff --git a/src/hyper/htadd.c b/src/hyper/htadd.c index edc2add4..534d9c55 100644 --- a/src/hyper/htadd.c +++ b/src/hyper/htadd.c @@ -47,7 +47,6 @@ #include "lex.h" -#include "htadd.H1" #include "addfile.h" #include "halloc.H1" #include "hash.H1" @@ -55,6 +54,17 @@ #include "lex.H1" +static void add_file(char*, char*, int); +static void add_new_pages(FILE*, FILE*, char*, char*); +static int build_db_filename(short, char*, char*); +static void copy_file(char*, char*); +static void delete_db(FILE*, FILE*, char*); +static int delete_file(char*, char*); +static void get_filename(void); +static void parse_args(char**, char*, char**, short*); +static void update_db(FILE*, FILE*, FILE*, char*, char*, int); +static int writable(struct stat); + /* diff --git a/src/hyper/spadbuf.c b/src/hyper/spadbuf.c index 1a6bc0ef..b8795723 100644 --- a/src/hyper/spadbuf.c +++ b/src/hyper/spadbuf.c @@ -52,7 +52,6 @@ #include "edible.h" #include "com.h" -#include "spadbuf.H1" #include "sockio.h" #include "edin.H1" #include "wct.H1" @@ -60,6 +59,10 @@ #include "cursor.H1" #include "fnct_key.H1" +static void spadbuf_inter_handler(int); +static void spadbuf_function_chars(void); +static void interp_io(void); +static void init_parent(void); unsigned char _INTR, _QUIT, _ERASE, _KILL, _EOF, _EOL, _RES1, _RES2; -- cgit v1.2.3