aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-10-26 19:57:45 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-10-26 19:57:45 +0000
commit836bbce0c428581f40d13d8c3d27d1c7adc31ccb (patch)
tree3d03fdd0b5bdda66ef27bf852cac646968968882 /rcfile_y.y
parentbcc60aebf68fd7839c708a623048636a03f05043 (diff)
downloadfetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.gz
fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.bz2
fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.zip
Jonathan T. Agnew's massive code cleanup.
svn path=/trunk/; revision=2137
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 0e8ce1ac..bdd4c88b 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -42,9 +42,9 @@ static int prc_errflag;
static struct hostdata *leadentry;
static flag trailer;
-static void record_current();
-static void user_reset();
-static void reset_server(char *name, int skip);
+static void record_current(void);
+static void user_reset(void);
+static void reset_server(const char *name, int skip);
/* using Bison, this arranges that yydebug messages will show actual tokens */
extern char * yytext;
@@ -426,7 +426,7 @@ int prc_parse_file (const char *pathname, const flag securecheck)
return(PS_SUCCESS);
}
-static void reset_server(char *name, int skip)
+static void reset_server(const char *name, int skip)
/* clear the entire global record and initialize it with a new name */
{
trailer = FALSE;