summaryrefslogtreecommitdiff
path: root/ext/rpc/rpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/rpc.h')
-rw-r--r--ext/rpc/rpc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/rpc/rpc.h b/ext/rpc/rpc.h
index 1e77567493..7cbb73564f 100644
--- a/ext/rpc/rpc.h
+++ b/ext/rpc/rpc.h
@@ -19,10 +19,6 @@
#ifndef RPC_H
#define RPC_H
-#define FOREACH_HANDLER for (__handler_counter=0; __handler_counter < HANDLER_COUNT; __handler_counter++)
-#define HANDLER handler_entries[__handler_counter]
-#define HANDLER_COUNT (sizeof(handler_entries) / sizeof(rpc_handler_entry))
-
#define RPC_HT(intern) (*((intern)->handlers))
#define RPC_CLASS(intern) ((intern)->hash)
@@ -127,6 +123,4 @@
efree(arg_types); \
efree(hash_val.str);
-static int __handler_counter;
-
#endif \ No newline at end of file