summaryrefslogtreecommitdiff
path: root/lib/libutil/util.h
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2012-09-09 18:08:22 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2012-09-09 18:08:22 +0000
commit505630b045b1c95f3e4fee3a4d3339777222550c (patch)
treebff085a692772241c2c824b6be72dc324bf41f77 /lib/libutil/util.h
parentf536414389c36f1117e0dc47665c1117e1f5fa92 (diff)
Use "unsigned int" instead of BSD "u_int" in <util.h> so that it can
be included in source files that specify POSIX source. libutil isn't a standard POSIX library, but no need to be gratuitously incompatible. Fixes x11/st. ok tedu, guenther, kettenis
Diffstat (limited to 'lib/libutil/util.h')
-rw-r--r--lib/libutil/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/util.h b/lib/libutil/util.h
index 89f2ea783db..6fe0b016e3e 100644
--- a/lib/libutil/util.h
+++ b/lib/libutil/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.31 2012/09/06 19:41:59 tedu Exp $ */
+/* $OpenBSD: util.h,v 1.32 2012/09/09 18:08:21 matthew Exp $ */
/* $NetBSD: util.h,v 1.2 1996/05/16 07:00:22 thorpej Exp $ */
/*-
@@ -115,7 +115,7 @@ int fmt_scaled(long long, char *);
int scan_scaled(char *, long long *);
int isduid(const char *, int);
int pkcs5_pbkdf2(const char *, size_t, const char *, size_t,
- u_int8_t *, size_t, u_int);
+ u_int8_t *, size_t, unsigned int);
__END_DECLS