From 617950554f369883a534a27ad685f447278d3833 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 9 Nov 2006 15:03:56 +0000 Subject: [PATCH] missed these --- Makefile | 4 ++-- sh.h | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c4a6cad..d2de953 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -# $MirOS: src/bin/mksh/Makefile,v 1.16 2006/11/09 00:11:39 tg Exp $ +# $MirOS: src/bin/mksh/Makefile,v 1.17 2006/11/09 15:03:56 tg Exp $ PROG= mksh SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \ jobs.c lex.c main.c misc.c shf.c syn.c tree.c var.c CPPFLAGS+= -DHAVE_ARC4RANDOM -DHAVE_ARC4RANDOM_PUSH -DHAVE_SYS_PARAM_H CPPFLAGS+= -DHAVE_LANGINFO_CODESET -DHAVE_SETLOCALE_CTYPE -CPPFLAGS+= -DHAVE_SETMODE -DHAVE_STRLCAT -DHAVE_STRLCPY +CPPFLAGS+= -DHAVE_SETMODE -DHAVE_STRLCPY CDIAGFLAGS+= -Wno-cast-qual LINKS+= ${BINDIR}/${PROG} ${BINDIR}/sh diff --git a/sh.h b/sh.h index c4cbbb3..0bc79b2 100644 --- a/sh.h +++ b/sh.h @@ -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.58 2006/11/09 15:02:31 tg Exp $" +#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.59 2006/11/09 15:03:56 tg Exp $" #define MKSH_VERSION "R29 2006/11/09" #if HAVE_SYS_PARAM_H @@ -112,9 +112,6 @@ mode_t getmode(const void *, mode_t); void *setmode(const char *); #endif -#if !HAVE_STRLCAT -size_t strlcat(char *, const char *, size_t); -#endif #if !HAVE_STRLCPY size_t strlcpy(char *, const char *, size_t); #endif