[BACK]Return to patch-cfparse.y CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / pim6sd / patches

File: [cvs.NetBSD.org] / pkgsrc / net / pim6sd / patches / patch-cfparse.y (download)

Revision 1.2, Tue Feb 10 19:28:29 2015 UTC (5 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, HEAD
Changes since 1.1: +9 -1 lines

Include stdlib.h for newer yacc

$NetBSD: patch-cfparse.y,v 1.2 2015/02/10 19:28:29 joerg Exp $

Fix build with gcc-4.5.

--- cfparse.y.orig	2003-10-21 08:15:45.000000000 +0000
+++ cfparse.y
@@ -41,6 +41,7 @@
 #include <string.h>
 #include <syslog.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 #include "defs.h"
 #include "vif.h"
@@ -1232,7 +1232,7 @@ cf_post_config()
 
 /* initialize all the temporary variables */
 void
-cf_init(s, d)
+cf_init(int s, int d)
 {
 	struct uvif *v;
 	mifi_t vifi;