aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.h16
-rw-r--r--rcfile_y.y4
2 files changed, 2 insertions, 18 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 7f70e9a4..bb71903e 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -65,22 +65,6 @@ struct optrec {
struct optrec *next;
};
-
-/* .poprc records are passed in this structure type */
-struct prc_server {
- char *server;
- int protocol;
- char *remotename;
- char *password;
- char *remotefolder;
- char *userfolder;
- char *mda;
- int keep;
- int flush;
- int fetchall;
-};
-
-
/* controls the detail level of status/progress messages written to stderr */
extern int outlevel; /* see the O_.* constants above */
extern int yydebug; /* enable parse debugging */
diff --git a/rcfile_y.y b/rcfile_y.y
index ab883419..8f93c350 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -15,7 +15,7 @@
#include <config.h>
#include <stdio.h>
-extern char *prc_pathname;
+extern char *poprcfile;
extern int prc_lineno;
extern int prc_errflag;
extern char *yytext;
@@ -83,6 +83,6 @@ proto: PROTO_POP2
yyerror (s)
char *s;
{
- fprintf(stderr,"%s line %d: %s at %s\n", prc_pathname, prc_lineno, s, yytext);
+ fprintf(stderr,"%s line %d: %s at %s\n", poprcfile, prc_lineno, s, yytext);
prc_errflag++;
}