Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/dhcp/common - Add declarations for lhs_context and rhs_...



details:   https://anonhg.NetBSD.org/src/rev/4de23354e412
branches:  trunk
changeset: 554398:4de23354e412
user:      mellon <mellon%NetBSD.org@localhost>
date:      Mon Oct 27 21:08:25 2003 +0000

description:
- Add declarations for lhs_context and rhs_context.   For some reason these
  were missing from the diff between 3.0.1rc11 and 3.0.1rc12, so the previous
  commit didn't compile.   :'(

diffstat:

 dist/dhcp/common/parse.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r db8e31a24d5f -r 4de23354e412 dist/dhcp/common/parse.c
--- a/dist/dhcp/common/parse.c  Mon Oct 27 20:16:09 2003 +0000
+++ b/dist/dhcp/common/parse.c  Mon Oct 27 21:08:25 2003 +0000
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: parse.c,v 1.6 2003/10/27 20:16:09 mellon Exp $ Copyright (c) 1995-2002 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: parse.c,v 1.7 2003/10/27 21:08:25 mellon Exp $ Copyright (c) 1995-2002 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -3915,6 +3915,9 @@
        struct expression *rhs = (struct expression *)0, *tmp;
        struct expression *lhs = (struct expression *)0;
        enum expr_op next_op;
+       enum expression_context
+               lhs_context = context_any,
+               rhs_context = context_any;
 
        /* Consume the left hand side we were passed. */
        if (plhs) {



Home | Main Index | Thread Index | Old Index