diff options
| -rw-r--r-- | src/regress/lib/libc/atexit/Makefile | 3 | ||||
| -rw-r--r-- | src/regress/lib/libc/atexit/atexit_test.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/regress/lib/libc/atexit/Makefile b/src/regress/lib/libc/atexit/Makefile index 55c3f3981e..8731e9d421 100644 --- a/src/regress/lib/libc/atexit/Makefile +++ b/src/regress/lib/libc/atexit/Makefile | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.3 2002/09/14 22:03:14 dhartmei Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2002/10/21 20:40:50 mickey Exp $ |
| 2 | 2 | ||
| 3 | NOMAN= | 3 | NOMAN= |
| 4 | PROG=atexit_test | 4 | PROG=atexit_test |
| 5 | CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc | ||
| 5 | 6 | ||
| 6 | run-regress-atexit_test: ${PROG} | 7 | run-regress-atexit_test: ${PROG} |
| 7 | ./${PROG} -valid 2>${.OBJDIR}/valid.out | 8 | ./${PROG} -valid 2>${.OBJDIR}/valid.out |
diff --git a/src/regress/lib/libc/atexit/atexit_test.c b/src/regress/lib/libc/atexit/atexit_test.c index fea95832ab..df316e3372 100644 --- a/src/regress/lib/libc/atexit/atexit_test.c +++ b/src/regress/lib/libc/atexit/atexit_test.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: atexit_test.c,v 1.2 2002/09/14 22:03:14 dhartmei Exp $ */ | 1 | /* $OpenBSD: atexit_test.c,v 1.3 2002/10/21 20:40:50 mickey Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2002 Daniel Hartmeier | 4 | * Copyright (c) 2002 Daniel Hartmeier |
| @@ -37,7 +37,7 @@ | |||
| 37 | #include <stdio.h> | 37 | #include <stdio.h> |
| 38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
| 39 | #include <signal.h> | 39 | #include <signal.h> |
| 40 | #include "/usr/src/lib/libc/stdlib/atexit.h" | 40 | #include "stdlib/atexit.h" |
| 41 | 41 | ||
| 42 | void handle_first(); | 42 | void handle_first(); |
| 43 | void handle_middle(); | 43 | void handle_middle(); |
