aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/msg.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-09 16:16:30 -0500
committerBrian Cully <bjc@kublai.com>2012-02-09 16:16:30 -0500
commitfe1512e6163b0272fa7b168eecfd8dcdb31db837 (patch)
tree22be471c709db98b4c1a7ba6dd945e217047ac45 /c_src/msg.h
parent3f739d918f99f0324b9b8ad9ea9c7bd5888c46f7 (diff)
downloadmysqlerl-fe1512e6163b0272fa7b168eecfd8dcdb31db837.tar.gz
mysqlerl-fe1512e6163b0272fa7b168eecfd8dcdb31db837.zip
Return errors to erlang when malloc fails. Cleanup warnings found by clang
Diffstat (limited to 'c_src/msg.h')
-rw-r--r--c_src/msg.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/c_src/msg.h b/c_src/msg.h
deleted file mode 100644
index 6db2aa8..0000000
--- a/c_src/msg.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (C) 2008, Brian Cully <bjc@kublai.com>
- */
-
-#ifndef _MSG_H
-#define _MSG_H
-
-#include <erl_interface.h>
-#include <ei.h>
-#include <stdlib.h>
-
-typedef u_int32_t msglen_t;
-
-ETERM *read_msg();
-int write_msg(ETERM *msg);
-
-#endif