don't compile mknod(1) builtin if MKSH_SMALL

saves 1037 text, 20 data (on i386)
This commit is contained in:
tg
2006-11-09 22:18:10 +00:00
parent 2345d8b72b
commit 3c33cbcecc
3 changed files with 11 additions and 5 deletions

4
sh.h
View File

@@ -8,7 +8,7 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.64 2006/11/09 22:11:08 tg Exp $"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.65 2006/11/09 22:18:10 tg Exp $"
#define MKSH_VERSION "R29 2006/11/09"
#if HAVE_SYS_PARAM_H
@@ -108,7 +108,7 @@
/* OS-dependent additions */
#if !HAVE_SETMODE
#if !HAVE_SETMODE && !defined(MKSH_SMALL)
mode_t getmode(const void *, mode_t);
void *setmode(const char *);
#endif