diff options
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index a5e4250cbb8..7efba0a230a 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: dir.c,v 1.43 2005/06/26 15:19:12 mickey Exp $ */ +/* $OpenBSD: dir.c,v 1.44 2006/01/20 23:10:19 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* @@ -63,12 +63,12 @@ */ #include <sys/param.h> -#include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <limits.h> #include <stddef.h> #include <stdio.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> #include "config.h" @@ -209,7 +209,7 @@ static struct ohash_info dir_info = { offsetof(Path, name), static void add_file(Path *, const char *); /* n = find_file_hashi(p, name, end, hv): retrieve name in a path hash * structure. */ -static char *find_file_hashi(Path *, const char *, const char *, u_int32_t); +static char *find_file_hashi(Path *, const char *, const char *, uint32_t); /* stamp = find_stampi(name, end): look for (name, end) in the global * cache. */ @@ -280,7 +280,7 @@ add_file(Path *p, const char *file) } static char * -find_file_hashi(Path *p, const char *file, const char *efile, u_int32_t hv) +find_file_hashi(Path *p, const char *file, const char *efile, uint32_t hv) { struct ohash *h = &p->files; @@ -646,7 +646,7 @@ Dir_FindFilei(const char *name, const char *ename, Lst path) bool hasSlash; struct stat stb; /* Buffer for stat, if necessary */ struct file_stamp *entry; /* Entry for mtimes table */ - u_int32_t hv; /* hash value for last component in file name */ + uint32_t hv; /* hash value for last component in file name */ char *q; /* Str_dupi(name, ename) */ /* Find the final component of the name and note whether name has a |