Merging in 2.0.2.
This commit is contained in:
@@ -10,8 +10,7 @@ COMMON=$(TOP)/common/libc
|
||||
# printf
|
||||
SRCS+=\
|
||||
$(COMMON)/printf/__printf.c \
|
||||
$(COMMON)/printf/snprintf.c \
|
||||
$(COMMON)/printf/tprintf.c
|
||||
$(COMMON)/printf/snprintf.c
|
||||
|
||||
# stdio
|
||||
SRCS+=\
|
||||
|
@@ -31,8 +31,6 @@
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <kern/secret.h>
|
||||
|
||||
/*
|
||||
* printf - C standard I/O function.
|
||||
|
@@ -139,7 +139,6 @@ verr(int exitcode, const char *fmt, va_list ap)
|
||||
{
|
||||
__printerr(1, fmt, ap);
|
||||
exit(exitcode);
|
||||
// exit() didn't work.
|
||||
}
|
||||
|
||||
/* errx/verrx: don't use errno, but do then exit */
|
||||
@@ -148,7 +147,6 @@ verrx(int exitcode, const char *fmt, va_list ap)
|
||||
{
|
||||
__printerr(0, fmt, ap);
|
||||
exit(exitcode);
|
||||
// exit() didn't work.
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user