diff options
author | 2003-06-25 21:43:49 +0000 | |
---|---|---|
committer | 2003-06-25 21:43:49 +0000 | |
commit | 49dffe13d7fe900b7adc58a2f8d6809cffbe02d7 (patch) | |
tree | 11281c9540cd069a01afa492aa4d03de8c82fbf6 /usr.bin/diff/diff.h | |
parent | delete junk proto (diff) | |
download | wireguard-openbsd-49dffe13d7fe900b7adc58a2f8d6809cffbe02d7.tar.xz wireguard-openbsd-49dffe13d7fe900b7adc58a2f8d6809cffbe02d7.zip |
o use S_ISDIR instead of doing it by hand
o rename talloc -> emalloc and ralloc -> erealloc
o struct direct -> struct dirent (POSIX)
o kill remaining strcpy()
o fix unterminated string in setfile()
deraadt@ OK
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r-- | usr.bin/diff/diff.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h index b49f5cd8264..a6985add4bc 100644 --- a/usr.bin/diff/diff.h +++ b/usr.bin/diff/diff.h @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.h,v 1.6 2003/06/25 17:49:22 millert Exp $ */ +/* $OpenBSD: diff.h,v 1.7 2003/06/25 21:43:49 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -42,7 +42,6 @@ #include <sys/param.h> #include <sys/stat.h> -#include <sys/dir.h> #include <ctype.h> #include <err.h> @@ -116,8 +115,8 @@ char **diffargv; /* option list to pass to recursive diffs */ char *file1, *file2, *efile1, *efile2; struct stat stb1, stb2; -void *talloc(size_t); -void *ralloc(void *, size_t); +void *emalloc(size_t); +void *erealloc(void *, size_t); char *splice(char *, char *); char *copytemp(void); void diffdir(char **); |