summaryrefslogtreecommitdiff
path: root/src/xmalloc.h
diff options
context:
space:
mode:
authorLorry <lorry@roadtrain.codethink.co.uk>2012-07-18 21:33:10 +0100
committerLorry <lorry@roadtrain.codethink.co.uk>2012-07-18 21:33:10 +0100
commitf4ded6a75809a84e330e7f3b66436bd2ea2c9974 (patch)
tree92880c33d016fcbf463766b59450e2a3eb9e8838 /src/xmalloc.h
downloadliboauth-f4ded6a75809a84e330e7f3b66436bd2ea2c9974.tar.gz
Tarball conversion
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