summaryrefslogtreecommitdiff
path: root/pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch
blob: 5e8fc7b24fab0eebdfb0cf8724f88c3fc9fa3930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 12c34c7ff8e4e00ba54bd0b90f2ca6905109cb5d Mon Sep 17 00:00:00 2001
From: Alejandro Soto <alejandro@34project.org>
Date: Wed, 26 Apr 2023 13:35:57 -0600
Subject: [PATCH 3/3] stdarg.h instead of varargs.h

---
 protoize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc-2.7.2.3/protoize.c b/gcc-2.7.2.3/protoize.c
index 9728bf2..fb82ef0 100644
--- a/gcc-2.7.2.3/protoize.c
+++ b/gcc-2.7.2.3/protoize.c
@@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA.  */
 #define _POSIX_SOURCE
 #endif
 
-#include <varargs.h>
+#include <stdarg.h>
 /* On some systems stdio.h includes stdarg.h;
    we must bring in varargs.h first.  */
 #include <stdio.h>
-- 
2.38.4