""
This commit is contained in:
@@ -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 \
|
||||
screenfilter.h serv_hash.h sll.h sorted_list.h tcp.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
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ static const char rcsid[] = "$Id$";
|
||||
|
||||
#include "stringmap.h"
|
||||
#include "vector.h"
|
||||
#include "util.h"
|
||||
#include "iftop.h"
|
||||
|
||||
/* stringmap_new:
|
||||
* Allocate memory for a new stringmap. */
|
||||
|
||||
19
util.h
19
util.h
@@ -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_ */
|
||||
Reference in New Issue
Block a user