summaryrefslogtreecommitdiffstats
path: root/patches/xli-1.17.0/xli-1.17.0-varargs.diff
blob: 3883134490d36ebf195ae1e3fba5e5d6e76197b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Subject: xli: use stdargs instead of varargs
From: Robert Schwebel <r.schwebel@pengutronix.de>

Use stdarg.h instead of varargs.h, which is correct for recent
toolchains.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

---

Index: rlelib.c
===================================================================
--- rlelib.c.orig
+++ rlelib.c
@@ -12,7 +12,7 @@
  */
 
 #include "xli.h"
-#include <varargs.h>
+#include <stdarg.h>
 #include <ctype.h>
 #include "rle.h"