Commit c350e9f4 authored by chris's avatar chris
Browse files

""

parent e80ab09f
......@@ -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. */
......
/*
* 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_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment