path: root/src/xalloc.h
authorSergey Poznyakoff <>2013-10-14 12:28:51 (GMT)
committer Sergey Poznyakoff <>2013-10-14 14:54:41 (GMT)
commitf035194d7d1b6cc0846ad7a5d86e0d6fa9463c67 (patch) (side-by-side diff)
tree494d180cee9a078727c8d4965caa65cb2052f33d /src/xalloc.h
parent58f7dbc0658b3d73816a1bc91b75c2bdac733510 (diff)
New utility binlogsel
* Check for yacc. * src/.gitignore: Update. * src/ (libbinlog_a_SOURCES): Add new files. Build binlogsel. * src/binlogcat.c: Use xmalloc. * src/binlogsel.c: New file. * src/parse-datetime.h: New file. * src/parse-datetime.y: New file. * src/xalloc.c: New file. * src/xalloc.h: New file.
Diffstat (limited to 'src/xalloc.h') (more/less context) (ignore whitespace changes)
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xalloc.h b/src/xalloc.h
new file mode 100644
index 0000000..da7922f
--- a/dev/null
+++ b/src/xalloc.h
@@ -0,0 +1,3 @@
+void *xmalloc(size_t s);
+void *xmemdup(void const *p, size_t s);
+void *xcalloc(size_t count, size_t size);

Return to:

Send suggestions and report system problems to the System administrator.