diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 08:51:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 08:51:01 +0000 |
commit | cbb13fa11fdf4e178016090ecda8aac67d1dd83f (patch) | |
tree | b285268628fdae822c9d10c9843d328f76cdedb9 /lib/libc/gen/setdomainname.c | |
parent | d42c04a67674249ebcb7704fd0826b517b048685 (diff) |
change size parameter to size_t
Diffstat (limited to 'lib/libc/gen/setdomainname.c')
-rw-r--r-- | lib/libc/gen/setdomainname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/setdomainname.c b/lib/libc/gen/setdomainname.c index 398743fa1b6..815ab68a197 100644 --- a/lib/libc/gen/setdomainname.c +++ b/lib/libc/gen/setdomainname.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.3 1997/07/25 20:30:03 mickey Exp $"; +static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.4 1998/05/13 08:50:59 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -40,12 +40,12 @@ static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.3 1997/07/25 20:30:03 micke #ifdef __STDC__ int -setdomainname(const char *name, int namelen) +setdomainname(const char *name, size_t namelen) #else int setdomainname(name, namelen) char *name; - int namelen; + size_t namelen; #endif { int mib[2]; |