summarylogtreecommitdiffstats
path: root/0001-compilation-fix.patch
diff options
context:
space:
mode:
authorMateusz Szychowski (Muttley)2022-06-27 15:02:47 +0200
committerMateusz Szychowski (Muttley)2022-06-27 15:04:20 +0200
commitc8dca3fe3b1f8da6fccdf3705c3c593db11e8365 (patch)
tree2c8844b3553047bc13fc3d7591ae3d9e61c0c9e9 /0001-compilation-fix.patch
downloadaur-simpl.tar.gz
version 3.3.8
Diffstat (limited to '0001-compilation-fix.patch')
-rw-r--r--0001-compilation-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0001-compilation-fix.patch b/0001-compilation-fix.patch
new file mode 100644
index 000000000000..19c372c400b0
--- /dev/null
+++ b/0001-compilation-fix.patch
@@ -0,0 +1,29 @@
+diff --git a/include/simplLibProto.h b/include/simplLibProto.h
+index 4b8e271..dae49be 100644
+--- a/include/simplLibProto.h
++++ b/include/simplLibProto.h
+@@ -108,9 +108,9 @@ int _simpl_readFifoMsg(int, char *);
+ int saveSenderId(char *);
+ int removeSenderId(char *);
+ int ReplyError(char *);
+-inline void _simpl_setErrorCode(int);
++void _simpl_setErrorCode(int);
+ void _simpl_log(char *, ...);
+-inline int _simpl_check(void);
++int _simpl_check(void);
+ void _simpl_initSignalHandling(void);
+ void _simpl_hndlSignals(int);
+ void _simpl_exitFunc(void);
+diff --git a/simplipc/src/simplUtils.c b/simplipc/src/simplUtils.c
+index eb7c9d8..089ee41 100644
+--- a/simplipc/src/simplUtils.c
++++ b/simplipc/src/simplUtils.c
+@@ -1411,7 +1411,7 @@ PURPOSE: set the _simpl_error global variable
+ RETURNS: nothing
+ **********************************************************************/
+
+-inline void _simpl_setErrorCode(int errorNumber)
++void _simpl_setErrorCode(int errorNumber)
+ {
+ // int _simpl_errno is global
+