summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-ftbfs.patch
blob: 9548b3c0637beef2cdd0df308eb5b474236aa493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up sblim-sfcb-1.4.9/control.c.orig sblim-sfcb-1.4.9/control.c
--- sblim-sfcb-1.4.9/control.c.orig	2015-07-13 15:06:21.331660336 +0200
+++ sblim-sfcb-1.4.9/control.c	2015-07-13 15:08:38.031308917 +0200
@@ -83,7 +83,7 @@ long            httpReqHandlerTimeout;
  * Kindly null terminate, always, even if might overwrite
  * the last char of the truncated string. 
 */
-inline char *strncpy_kind(char *to, char *from, size_t size) {
+char *strncpy_kind(char *to, char *from, size_t size) {
   strncpy(to, from, size);
   *(to + size - 1) = '\0';
   return to;
OpenPOWER on IntegriCloud