X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=netrc.h;h=0758db232d78fae558810af9dd96aa00d9329ad8;hb=33cddbff323efcbae1503e91e6e65b2733da80c7;hp=c69316a89b6c40e3801e058e07181cfe3a01a1d4;hpb=025dc8b68e812f4cdb0943baf8d43d3683651490;p=~andy%2Ffetchmail diff --git a/netrc.h b/netrc.h index c69316a8..0758db23 100644 --- a/netrc.h +++ b/netrc.h @@ -15,13 +15,6 @@ # define __END_DECLS /* empty */ #endif -#undef __P -#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus) -# define __P(protos) protos -#else -# define __P(protos) () -#endif - /* The structure used to return account information from the .netrc. */ typedef struct _netrc_entry { /* The exact host name given in the .netrc, NULL if default. */ @@ -41,14 +34,14 @@ __BEGIN_DECLS /* Parse FILE as a .netrc file (as described in ftp(1)), and return a list of entries. NULL is returned if the file could not be parsed. */ -netrc_entry *parse_netrc __P((char *file)); +netrc_entry *parse_netrc (char *file); /* Return the netrc entry from LIST corresponding to HOST. NULL is returned if no such entry exists. */ -netrc_entry *search_netrc __P((netrc_entry *list, char *host, char *account)); +netrc_entry *search_netrc (netrc_entry *list, char *host, char *account); /* Free the netrc list structure */ -void free_netrc __P((netrc_entry *list)); +void free_netrc (netrc_entry *list); __END_DECLS #endif /* _NETRC_H_ */