X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=netrc.c;h=a585e1a0be37c236336713b949f15e7f9b3926e6;hb=f6c7034fdbeb25d7d8eb0e62c0fe5de563eb7b55;hp=196db6715c65657d82f3618091f4ecd537024c56;hpb=c3e52ea6ca3178b7ecab4b389a9ba9269662b48f;p=~andy%2Ffetchmail diff --git a/netrc.c b/netrc.c index 196db671..a585e1a0 100644 --- a/netrc.c +++ b/netrc.c @@ -10,12 +10,13 @@ (Makefile.am should have a rule so you can just type "make netrc") */ +#include "config.h" + #include #include #include #include -#include "config.h" #include "fetchmail.h" #include "netrc.h" #include "i18n.h" @@ -28,7 +29,7 @@ # 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 @@ -331,7 +332,7 @@ free_netrc(netrc_entry *a) { 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];