Update of /cvsroot/linux-atm/linux-atm/src/sigd
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18737/src/sigd
Modified Files:
cfg_y.y
Log Message:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/linux-atm/files/linux-atm-2.5.0-headers.patch?rev=1.1&view=log
Version bump.
(Portage version: 2.1.4_rc11)
apparently related to:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/linux-atm/files/linux-atm-2.4.1-declarations.patch?rev=1.1&view=log
Fix QA warnings.
(Portage version: 2.1.2.2)
Index: cfg_y.y
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/sigd/cfg_y.y,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** cfg_y.y 1 Jan 2008 00:14:52 -0000 1.3
--- cfg_y.y 3 Mar 2009 18:23:26 -0000 1.4
***************
*** 8,11 ****
--- 8,12 ----
#endif
+ #include <stdlib.h>
#include <string.h>
#include <ctype.h>
***************
*** 25,28 ****
--- 26,32 ----
static SIG_ENTITY *curr_sig = &_entity;
+ void yyerror(const char *s);
+ void yywarn(const char *s);
+ int yylex(void);
static int hex2num(char digit)
***************
*** 128,132 ****
if (atm_equal((struct sockaddr *) &sig->signaling_pvc,
(struct sockaddr *) &$2,0,0))
! yyerror("duplicate PVC address %d.%d.%d",S_PVC(sig));
curr_sig = alloc_t(SIG_ENTITY);
*curr_sig = _entity;
--- 132,136 ----
if (atm_equal((struct sockaddr *) &sig->signaling_pvc,
(struct sockaddr *) &$2,0,0))
! yyerror("duplicate PVC address");
curr_sig = alloc_t(SIG_ENTITY);
*curr_sig = _entity;
|