summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/msgs/msgs.c4
-rw-r--r--usr.bin/rdist/defs.h2
-rw-r--r--usr.bin/rdist/docmd.c4
-rw-r--r--usr.bin/rdist/expand.c2
-rw-r--r--usr.bin/rdist/server.c6
-rw-r--r--usr.bin/rwho/rwho.c4
6 files changed, 11 insertions, 11 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;
diff --git a/usr.bin/rdist/defs.h b/usr.bin/rdist/defs.h
index e23ae6f..8e4f381 100644
--- a/usr.bin/rdist/defs.h
+++ b/usr.bin/rdist/defs.h
@@ -34,13 +34,13 @@
*/
#include <sys/param.h>
-#include <sys/dir.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/file.h>
#include <netinet/in.h>
+#include <dirent.h>
#include <errno.h>
#include <pwd.h>
#include <grp.h>
diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c
index e941d78..ebc6470 100644
--- a/usr.bin/rdist/docmd.c
+++ b/usr.bin/rdist/docmd.c
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "From: @(#)docmd.c 8.1 (Berkeley) 6/9/93";*/
static const char rcsid[] =
- "$Id: docmd.c,v 1.4 1996/07/12 04:00:13 nate Exp $";
+ "$Id: docmd.c,v 1.5 1996/08/10 07:54:12 peter Exp $";
#endif /* not lint */
#include "defs.h"
@@ -512,7 +512,7 @@ rcmptime(st)
struct stat *st;
{
register DIR *d;
- register struct direct *dp;
+ register struct dirent *dp;
register char *cp;
char *otp;
int len;
diff --git a/usr.bin/rdist/expand.c b/usr.bin/rdist/expand.c
index 4d1819b..142e086 100644
--- a/usr.bin/rdist/expand.c
+++ b/usr.bin/rdist/expand.c
@@ -296,7 +296,7 @@ matchdir(pattern)
char *pattern;
{
struct stat stb;
- register struct direct *dp;
+ register struct dirent *dp;
DIR *dirp;
dirp = opendir(path);
diff --git a/usr.bin/rdist/server.c b/usr.bin/rdist/server.c
index a511174..e3a12fb 100644
--- a/usr.bin/rdist/server.c
+++ b/usr.bin/rdist/server.c
@@ -306,7 +306,7 @@ sendf(rname, opts)
int sizerr, f, u, len;
off_t i;
DIR *d;
- struct direct *dp;
+ struct dirent *dp;
char *otp, *cp;
extern struct subcmd *subcmds;
static char user[15], group[15];
@@ -1184,7 +1184,7 @@ clean(cp)
register char *cp;
{
DIR *d;
- register struct direct *dp;
+ register struct dirent *dp;
struct stat stb;
char *otp;
int len, opts;
@@ -1258,7 +1258,7 @@ removeit(stp)
struct stat *stp;
{
DIR *d;
- struct direct *dp;
+ struct dirent *dp;
register char *cp;
struct stat stb;
char *otp;
diff --git a/usr.bin/rwho/rwho.c b/usr.bin/rwho/rwho.c
index 0f6570e..9ba05e2 100644
--- a/usr.bin/rwho/rwho.c
+++ b/usr.bin/rwho/rwho.c
@@ -42,9 +42,9 @@ static char sccsid[] = "@(#)rwho.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#include <sys/param.h>
-#include <sys/dir.h>
#include <sys/file.h>
#include <protocols/rwhod.h>
+#include <dirent.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
@@ -78,7 +78,7 @@ main(argc, argv)
extern char *optarg;
extern int optind;
int ch;
- struct direct *dp;
+ struct dirent *dp;
int cc, width;
register struct whod *w = &wd;
register struct whoent *we;
OpenPOWER on IntegriCloud