summaryrefslogtreecommitdiff
path: root/usr.bin/less/less.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-09 02:59:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-09 02:59:07 +0000
commitd5518d3ecbf33825b14179efcc55c8eff0739f1f (patch)
treecbb66cafa89f7d9c3a8b5935e9447bf4f36dae46 /usr.bin/less/less.h
parent03e26435adecc5b117f0f1014d23f010768992dd (diff)
do not need wrappers around O_RDONLY and such
Diffstat (limited to 'usr.bin/less/less.h')
-rw-r--r--usr.bin/less/less.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/less/less.h b/usr.bin/less/less.h
index 7af71c98117..949ba138fcf 100644
--- a/usr.bin/less/less.h
+++ b/usr.bin/less/less.h
@@ -87,12 +87,6 @@ typedef off_t LINENUM;
#define MIN_LINENUM_WIDTH 7 /* Min printing width of a line number */
#define MAX_UTF_CHAR_LEN 6 /* Max bytes in one UTF-8 char */
-/*
- * Flags for open()
- */
-#define OPEN_READ (O_RDONLY)
-#define OPEN_APPEND (O_APPEND|O_WRONLY)
-
#define SHELL_META_QUEST 1
#define SPACES_IN_FILENAMES 1