diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-23 17:22:44 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-23 17:22:44 +0000 |
commit | df187bb4d3d77ac0699f67c0150cee78602ef92e (patch) | |
tree | 25553d9d2471c54005e0293429e858fc02b2b065 /bin | |
parent | 4860cab4173dcc568a6727ccfba3644b3a3f1bd0 (diff) |
Remove three strange and unused preproc defines. Submitted by Ilya
Kaliman.
ok nicm@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/shf.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/ksh/shf.c b/bin/ksh/shf.c index 1d7825bfb36..e8a39b99088 100644 --- a/bin/ksh/shf.c +++ b/bin/ksh/shf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: shf.c,v 1.25 2015/10/19 14:42:16 mmcc Exp $ */ +/* $OpenBSD: shf.c,v 1.26 2015/10/23 17:22:43 mmcc Exp $ */ /* * Shell file I/O routines @@ -707,10 +707,6 @@ shf_smprintf(const char *fmt, ...) return shf_sclose(&shf); /* null terminates */ } -#define BUF_SIZE 128 -#define ABIGNUM 32000 /* big number that will fit in a short */ -#define LOG2_10 3.321928094887362347870319429 /* log base 2 of 10 */ - #define FL_HASH 0x001 /* `#' seen */ #define FL_PLUS 0x002 /* `+' seen */ #define FL_RIGHT 0x004 /* `-' seen */ @@ -723,7 +719,6 @@ shf_smprintf(const char *fmt, ...) #define FL_UPPER 0x200 /* format character was uppercase */ #define FL_NUMBER 0x400 /* a number was formated %[douxefg] */ - int shf_vfprintf(struct shf *shf, const char *fmt, va_list args) { |