summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/printf/printf.c')
-rw-r--r--usr.bin/printf/printf.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 4ac23c6..55cfcc8 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-#if !defined(BUILTIN) && !defined(SHELL)
+#ifndef SHELL
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
@@ -69,9 +69,7 @@ static const char rcsid[] =
#define warnx3(a, b, c) warnx(a, b, c)
#endif
-#ifndef BUILTIN
#include <locale.h>
-#endif
#define PF(f, func) do { \
char *b = NULL; \
@@ -105,17 +103,13 @@ static void usage(void);
static char **gargv;
int
-#ifdef BUILTIN
-progprintf(int argc, char *argv[])
-#else
main(int argc, char *argv[])
-#endif
{
size_t len;
int ch, chopped, end, rval;
char *format, *fmt, *start;
-#if !defined(BUILTIN) && !defined(SHELL)
+#ifndef SHELL
(void) setlocale(LC_NUMERIC, "");
#endif
#ifdef SHELL
OpenPOWER on IntegriCloud