From 836bbce0c428581f40d13d8c3d27d1c7adc31ccb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Oct 1998 19:57:45 +0000 Subject: Jonathan T. Agnew's massive code cleanup. svn path=/trunk/; revision=2137 --- netrc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'netrc.c') diff --git a/netrc.c b/netrc.c index e88b78c7..6d3a645f 100644 --- a/netrc.c +++ b/netrc.c @@ -39,9 +39,7 @@ /* Maybe add NEWENTRY to the account information list, LIST. NEWENTRY is set to a ready-to-use netrc_entry, in any event. */ static void -maybe_add_to_list (newentry, list) - netrc_entry **newentry; - netrc_entry **list; +maybe_add_to_list (netrc_entry **newentry, netrc_entry **list) { netrc_entry *a, *l; a = *newentry; @@ -87,7 +85,8 @@ parse_netrc (file) char *file; { FILE *fp; - char buf[POPBUFSIZE+1], *p, *tok, *premature_token; + char buf[POPBUFSIZE+1], *p, *tok; + const char *premature_token; netrc_entry *current, *retval; int ln; -- cgit v1.2.3