Added
Link Here
|
1 |
--- rltypedefs.h.orig 2021-01-22 15:04:18 UTC |
2 |
+++ rltypedefs.h |
3 |
@@ -32,10 +32,10 @@ extern "C" { |
4 |
# define _FUNCTION_DEF |
5 |
|
6 |
#if defined(__GNUC__) || defined(__clang__) |
7 |
-typedef int Function () __attribute__((deprecated)); |
8 |
-typedef void VFunction () __attribute__((deprecated)); |
9 |
-typedef char *CPFunction () __attribute__((deprecated)); |
10 |
-typedef char **CPPFunction () __attribute__((deprecated)); |
11 |
+typedef int Function (void) __attribute__((deprecated)); |
12 |
+typedef void VFunction (void) __attribute__((deprecated)); |
13 |
+typedef char *CPFunction (void) __attribute__((deprecated)); |
14 |
+typedef char **CPPFunction (void) __attribute__((deprecated)); |
15 |
#else |
16 |
typedef int Function (); |
17 |
typedef void VFunction (); |