diff options
Diffstat (limited to 'usr/src/lib/libnsl/rpc/gethostname.c')
-rw-r--r-- | usr/src/lib/libnsl/rpc/gethostname.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/lib/libnsl/rpc/gethostname.c b/usr/src/lib/libnsl/rpc/gethostname.c index 11372bcfc4..4fea8f6327 100644 --- a/usr/src/lib/libnsl/rpc/gethostname.c +++ b/usr/src/lib/libnsl/rpc/gethostname.c @@ -21,9 +21,10 @@ */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* @@ -34,14 +35,11 @@ #pragma ident "%Z%%M% %I% %E% SMI" +#include "mt.h" #include <sys/utsname.h> #include <sys/types.h> #include <string.h> -#ifndef i386 -extern int _uname(); -#endif - /* * gethostname bsd compatibility */ |