summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-24 08:08:11 +0000
committerbde <bde@FreeBSD.org>1996-09-24 08:08:11 +0000
commitd2512c2bf99a15faab2ee38b498042767afbfc50 (patch)
treea7dcc2bf16ed815097f05a03a82f3f704338c35d /usr.bin/msgs
parent1ba7894bc0e2cb3f9e9a098a97edce8d61d95f8f (diff)
downloadFreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.zip
FreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.tar.gz
Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
Diffstat (limited to 'usr.bin/msgs')
-rw-r--r--usr.bin/msgs/msgs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index 0143e42..9af8f58 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -69,9 +69,9 @@ static char sccsid[] = "@(#)msgs.c 8.1 (Berkeley) 6/6/93";
/* #define UNBUFFERED *//* use unbuffered output */
#include <sys/param.h>
-#include <sys/dir.h>
#include <sys/stat.h>
#include <ctype.h>
+#include <dirent.h>
#include <errno.h>
#include <locale.h>
#include <pwd.h>
@@ -245,7 +245,7 @@ int argc; char *argv[];
keep = t - (rcback? rcback : NDAYS) DAYS;
if (clean || bounds == NULL) { /* relocate message bounds */
- struct direct *dp;
+ struct dirent *dp;
struct stat stbuf;
bool seenany = NO;
DIR *dirp;
OpenPOWER on IntegriCloud