# include "config.h"
#endif
-static void free_item(int i);
-
-
list_item *database = NULL;
int items = 0;
#define INITIAL_LIST_CAPACITY 30
-int list_capacity = 0;
+static int list_capacity = 0;
extern int first_list_item;
extern int curitem;
extern char *selected;
extern char *datafile;
-extern char *rcfile;
/*
* field definitions
if( (out = abook_fopen(datafile, "w")) == NULL )
return -1;
- if( list_is_empty() ) {
+ if(list_is_empty()) {
fclose(out);
unlink(datafile);
return 1;