summaryrefslogtreecommitdiff
path: root/lib/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/var.c')
-rw-r--r--lib/var.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/var.c b/lib/var.c
index 3d90a236818a6..df4b137d303fd 100644
--- a/lib/var.c
+++ b/lib/var.c
@@ -1,10 +1,10 @@
/*
- * Copyright (C) 2002-2004 by Darren Reed.
- *
- * See the IPFILTER.LICENCE file for details on licencing.
- *
- * $Id: var.c,v 1.4.2.3 2006/06/16 17:21:18 darrenr Exp $
- */
+ * Copyright (C) 2012 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * $Id$
+ */
#include <ctype.h>
@@ -23,7 +23,7 @@ static char *expand_string __P((char *, int));
static variable_t *find_var(name)
-char *name;
+ char *name;
{
variable_t *v;
@@ -35,8 +35,8 @@ char *name;
char *get_variable(string, after, line)
-char *string, **after;
-int line;
+ char *string, **after;
+ int line;
{
char c, *s, *t, *value;
variable_t *v;
@@ -82,8 +82,8 @@ int line;
static char *expand_string(oldstring, line)
-char *oldstring;
-int line;
+ char *oldstring;
+ int line;
{
char c, *s, *p1, *p2, *p3, *newstring, *value;
int len;
@@ -142,8 +142,8 @@ int line;
void set_variable(name, value)
-char *name;
-char *value;
+ char *name;
+ char *value;
{
variable_t *v;
int len;