summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/Lint_crt.c7
-rw-r--r--lib/libc/sys/Makefile.inc6
2 files changed, 10 insertions, 3 deletions
diff --git a/lib/libc/sys/Lint_crt.c b/lib/libc/sys/Lint_crt.c
new file mode 100644
index 00000000000..33ac1ea99c6
--- /dev/null
+++ b/lib/libc/sys/Lint_crt.c
@@ -0,0 +1,7 @@
+/* $OpenBSD: Lint_crt.c,v 1.1 2005/11/29 21:29:15 deraadt Exp $ */
+
+/* Publid domain, Theo de Raadt, 2005 */
+
+#include <unistd.h>
+
+char *__progname;
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 06b19696108..3b863196f99 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.74 2005/10/03 11:35:53 jmc Exp $
+# $OpenBSD: Makefile.inc,v 1.75 2005/11/29 21:29:15 deraadt Exp $
# $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
@@ -13,11 +13,11 @@ SRCS+= Ovfork.S brk.S cerror.S exect.S fork.S rfork.S \
LSRCS+= Lint_Ovfork.c Lint_brk.c Lint_exect.c Lint_fork.c \
Lint_rfork.c Lint_sbrk.c \
Lint_sigpending.c Lint_sigprocmask.c Lint_sigreturn.c \
- Lint_sigsuspend.c Lint_syscall.c
+ Lint_sigsuspend.c Lint_syscall.c Lint_crt.c
DPSRCS+= Lint_Ovfork.c Lint_brk.c Lint_exect.c Lint_fork.c \
Lint_sbrk.c \
Lint_sigpending.c Lint_sigprocmask.c Lint_sigreturn.c \
- Lint_sigsuspend.c Lint_syscall.c
+ Lint_sigsuspend.c Lint_syscall.c Lint_crt.c
# glue to provide compatibility between GCC 1.X and 2.X and for compat
# with old syscall interfaces.