aboutsummaryrefslogtreecommitdiffstats
path: root/mxget.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-08 17:51:52 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-08 17:51:52 +0000
commitcb236290e267f17d5f81a18d742b81f1b74b05a2 (patch)
treee6c74acdaa0881bb8accab285d77f146381b2f81 /mxget.c
parent7b11f0ff9972d8046e69f98948fdab26b5199caf (diff)
downloadfetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.gz
fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.bz2
fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.zip
Prototypes everywhere.
svn path=/trunk/; revision=515
Diffstat (limited to 'mxget.c')
-rw-r--r--mxget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mxget.c b/mxget.c
index 484d7aad..3f266c01 100644
--- a/mxget.c
+++ b/mxget.c
@@ -40,9 +40,8 @@
/* minimum possible size of MX record in packet */
#define MIN_MX_SIZE 8 /* corresp to "a.com 0" w/ terminating space */
-struct mxentry *getmxrecords(name)
+struct mxentry *getmxrecords(const char *name)
/* get MX records for given host */
-const char *name;
{
unsigned char answer[PACKETSZ], *eom, *cp, *bp;
int n, ancount, qdcount, buflen, type, pref, ind;