This commit is contained in:
chris
2003-11-06 23:37:20 +00:00
parent e80ab09fd7
commit c350e9f4d9
3 changed files with 2 additions and 21 deletions

View File

@@ -22,7 +22,7 @@ noinst_HEADERS = addr_hash.h ether.h ethertype.h extract.h hash.h iftop.h \
integers.h ip.h llc.h ns_hash.h options.h resolver.h \ integers.h ip.h llc.h ns_hash.h options.h resolver.h \
screenfilter.h serv_hash.h sll.h sorted_list.h tcp.h \ screenfilter.h serv_hash.h sll.h sorted_list.h tcp.h \
threadprof.h token.h ui.h dlcommon.h stringmap.h \ threadprof.h token.h ui.h dlcommon.h stringmap.h \
vector.h cfgfile.h util.h vector.h cfgfile.h
man_MANS = iftop.8 man_MANS = iftop.8

View File

@@ -16,7 +16,7 @@ static const char rcsid[] = "$Id$";
#include "stringmap.h" #include "stringmap.h"
#include "vector.h" #include "vector.h"
#include "util.h" #include "iftop.h"
/* stringmap_new: /* stringmap_new:
* Allocate memory for a new stringmap. */ * Allocate memory for a new stringmap. */

19
util.h
View File

@@ -1,19 +0,0 @@
/*
* util.h:
* Utility functions
*
* $Id$
*
*/
#ifndef __UTIL_H_ /* include guard */
#define __UTIL_H_
/* util.c */
void *xmalloc(size_t n);
void *xcalloc(size_t n, size_t m);
void *xrealloc(void *w, size_t n);
char *xstrdup(const char *s);
void xfree(void *v);
#endif /* __UTIL_H_ */