(Makefile.am should have a rule so you can just type "make netrc")
*/
+#include "config.h"
+
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
#include "fetchmail.h"
#include "netrc.h"
#include "i18n.h"
# define xmalloc malloc
# define xrealloc realloc
-char *program_name = "netrc";
+const char *program_name = "netrc";
#endif
/* Maybe add NEWENTRY to the account information list, LIST. NEWENTRY is
int main (int argc, char **argv)
{
struct stat sb;
- char *program_name, *file, *host, *login;
+ char *file, *host, *login;
netrc_entry *head, *a;
program_name = argv[0];