summaryrefslogtreecommitdiff
path: root/packages/linux/2.6.32.27/100-unifdef-strclpy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/2.6.32.27/100-unifdef-strclpy.patch')
-rw-r--r--packages/linux/2.6.32.27/100-unifdef-strclpy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/linux/2.6.32.27/100-unifdef-strclpy.patch b/packages/linux/2.6.32.27/100-unifdef-strclpy.patch
new file mode 100644
index 0000000..072fac6
--- /dev/null
+++ b/packages/linux/2.6.32.27/100-unifdef-strclpy.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.32.27/scripts/unifdef.c.orig 2017-03-08 21:42:27.000000000 -0800
++++ linux-2.6.32.27/scripts/unifdef.c 2017-03-08 21:42:44.000000000 -0800
+@@ -72,8 +72,6 @@
+ #include <string.h>
+ #include <unistd.h>
+
+-size_t strlcpy(char *dst, const char *src, size_t siz);
+-
+ /* types of input lines: */
+ typedef enum {
+ LT_TRUEI, /* a true #if with ignore flag */