summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/generic/util_canonhost.c
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-02-21 05:57:26 +0000
committerKeith Vetter <keithv@fusion.com>1995-02-21 05:57:26 +0000
commit878c7c76b952944f16dcdd9a0f0907b23c33a6f5 (patch)
treec07171f43e65ab59d8fe4b4685984e1c6ebe90a7 /src/lib/gssapi/generic/util_canonhost.c
parent59de610ba14f72cb8e431415a1eff9ed5977130f (diff)
downloadkrb5-878c7c76b952944f16dcdd9a0f0907b23c33a6f5.tar.gz
krb5-878c7c76b952944f16dcdd9a0f0907b23c33a6f5.tar.xz
krb5-878c7c76b952944f16dcdd9a0f0907b23c33a6f5.zip
PC'fied gssapi directories. Mostly changing Makefile.in and adding the
windows INTERFACE keyword to functions. A few int/long fixes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4959 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/generic/util_canonhost.c')
-rw-r--r--src/lib/gssapi/generic/util_canonhost.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/gssapi/generic/util_canonhost.c b/src/lib/gssapi/generic/util_canonhost.c
index 694d93354..89de87a02 100644
--- a/src/lib/gssapi/generic/util_canonhost.c
+++ b/src/lib/gssapi/generic/util_canonhost.c
@@ -21,15 +21,15 @@
*/
/* This file could be OS specific */
-
#include "gssapiP_generic.h"
-
+#ifndef _MSDOS
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <ctype.h>
-char *g_canonicalize_host(hostname)
+char * INTERFACE
+g_canonicalize_host(hostname)
char *hostname;
{
struct hostent *hent;
@@ -61,3 +61,4 @@ char *g_canonicalize_host(hostname)
return(canon);
}
+#endif