summaryrefslogtreecommitdiff
path: root/src/xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmalloc.h')
-rw-r--r--src/xmalloc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xmalloc.h b/src/xmalloc.h
new file mode 100644
index 0000000..7ec9b61
--- /dev/null
+++ b/src/xmalloc.h
@@ -0,0 +1,10 @@
+#ifndef _OAUTH_XMALLOC_H
+#define _OAUTH_XMALLOC_H 1
+
+/* Prototypes for functions defined in xmalloc.c */
+void *xmalloc (size_t size);
+void *xcalloc (size_t nmemb, size_t size);
+void *xrealloc (void *ptr, size_t size);
+char *xstrdup (const char *s);
+
+#endif