diff options
author | anay <none@none> | 2005-07-26 11:14:16 -0700 |
---|---|---|
committer | anay <none@none> | 2005-07-26 11:14:16 -0700 |
commit | 6a1c6faa6f0834799d7de3e77fac2ec32d923f9a (patch) | |
tree | b9ffae122f0cfeba99c72deca499b83cd22e9af4 /usr/src/lib/libresolv/res_init.c | |
parent | 78eb75caca75144af27b7903ffed3fb549faab2f (diff) | |
download | illumos-joyent-6a1c6faa6f0834799d7de3e77fac2ec32d923f9a.tar.gz |
6274683 gcc and libresolv[2] don't get along
Diffstat (limited to 'usr/src/lib/libresolv/res_init.c')
-rw-r--r-- | usr/src/lib/libresolv/res_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/lib/libresolv/res_init.c b/usr/src/lib/libresolv/res_init.c index 1c01d85271..630b45d8c8 100644 --- a/usr/src/lib/libresolv/res_init.c +++ b/usr/src/lib/libresolv/res_init.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 1999 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -82,7 +82,8 @@ struct state _res = { * * Return 0 if completes successfully, -1 on error */ -res_init() +int +res_init(void) { register FILE *fp; register char *cp, **pp; |