summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-12 03:13:13 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-12 03:13:13 +0000
commit8ef70cd1cbb92e01e52a3668ac2f735af51ceaec (patch)
treed6c4d6368569765beeacf0115c9ed6d8032e76a9 /usr.bin
parent930b749c2db3119670ef9954cf90ac429e9d3612 (diff)
No really, assume POSIX: errno is declared for us and sys/stat.h has
S_IX{USR,GRP,OTH}
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rdist/defs.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.bin/rdist/defs.h b/usr.bin/rdist/defs.h
index 9d6a2905691..8952edbe633 100644
--- a/usr.bin/rdist/defs.h
+++ b/usr.bin/rdist/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.24 2014/07/12 03:09:29 guenther Exp $ */
+/* $OpenBSD: defs.h,v 1.25 2014/07/12 03:13:12 guenther Exp $ */
#ifndef __DEFS_H__
#define __DEFS_H__
@@ -98,17 +98,6 @@
#define FALSE 0
#endif
- /* file modes */
-#ifndef S_IXUSR
-#define S_IXUSR 0000100
-#endif
-#ifndef S_IXGRP
-#define S_IXGRP 0000010
-#endif
-#ifndef S_IXOTH
-#define S_IXOTH 0000001
-#endif
-
/* lexical definitions */
#define QUOTECHAR 160 /* quote next character */
@@ -289,9 +278,6 @@ extern int optind; /* Option index into argv */
extern int debug; /* Debugging flag */
extern opt_t defoptions; /* Default install options */
extern int do_fork; /* Should we do fork()'ing */
-#ifndef __STDC__
-extern int errno; /* System error number */
-#endif
extern int isserver; /* Acting as remote server */
extern int nerrs; /* Number of errors seen */
extern int nflag; /* NOP flag, don't execute commands */