summaryrefslogtreecommitdiff
path: root/bin/ksh/shf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/shf.c')
-rw-r--r--bin/ksh/shf.c7
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)
{