xmalloc: Make xrealloc() arguments conform to realloc()
commitdb20fa00ca9880e6e661befee92e19194fa5e69a
authorTobias Klauser <tklauser@distanz.ch>
Thu, 5 Feb 2015 11:14:32 +0000 (5 12:14 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 5 Feb 2015 11:14:32 +0000 (5 12:14 +0100)
tree2f1832d48357c53e9285f870478cadaff663b4f4
parent42e233eab7e6f5eb1a63545c526aa7dd34945bef
xmalloc: Make xrealloc() arguments conform to realloc()

xrealloc() has an additional nmemb argument compared to realloc() for
which it should serve as a wrapper. Since we always call with nmemb = 1,
we might as well remove this argument and thus have xrealloc() conform
to the realloc() function prototype.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
bpf.c
bpf_comp.c
netsniff-ng.c
trafgen_parser.y
xmalloc.c
xmalloc.h