summaryrefslogtreecommitdiffstats
path: root/xmalloc.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-06-20 00:31:02 +0200
committerpgen <p.gen.progs@gmail.com>2022-06-20 01:06:52 +0200
commit6bc96ccc668003af9ca2d3056792ac783277faba (patch)
treed8f41a64f60db3e14636f5d102cdbe41dc9d82bd /xmalloc.h
parent57e04fef7b7ee198818ae06a07f418c11faedd7a (diff)
Various small changes
- add/fix const keyword. - add comments. - rename variables.
Diffstat (limited to 'xmalloc.h')
-rw-r--r--xmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmalloc.h b/xmalloc.h
index d724da1..759568a 100644
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -11,7 +11,7 @@ void *
xmalloc(size_t size);
void *
-xcalloc(size_t num, size_t size);
+xcalloc(size_t n, size_t size);
void *
xrealloc(void * ptr, size_t size);