mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-03 03:26:39 +00:00
7603e24b4f
... which fails to compile due to incompatible prototype for strlcpy() which isn't even used. 2.6.33 dropped the prototype, so the patch is n/a for newer kernels. Signed-off-by: Alexey Neyman <stilor@att.net>
12 lines
366 B
Diff
12 lines
366 B
Diff
--- 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 */
|