summaryrefslogtreecommitdiff
path: root/src/include/RegisterKeyedFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/RegisterKeyedFunction.h')
-rw-r--r--src/include/RegisterKeyedFunction.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/RegisterKeyedFunction.h b/src/include/RegisterKeyedFunction.h
index 5be1fdde..fddecb2d 100644
--- a/src/include/RegisterKeyedFunction.h
+++ b/src/include/RegisterKeyedFunction.h
@@ -9,20 +9,21 @@
@@*/
#ifndef _REGISTERKEYEDFUNCTION_H_
-#define _REGISTERKEYEDFUNCTION_H_
+#define _REGISTERKEYEDFUNCTION_H_ 1
/*****************************************************/
/* Function prototypes. */
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
-int RegisterKeyedFunction(void (*array[])(),
+int RegisterKeyedFunction(void (*array[])(void),
int min, int max,
- int key, void (*func)());
+ int key, void (*func)(void));
-void (**(CreateKeyedFunctionArray(int size)))();
+void (**(CreateKeyedFunctionArray(int size)))(void);
#ifdef __cplusplus
}