summaryrefslogtreecommitdiff
path: root/src/stdio/perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/perror.c')
-rw-r--r--src/stdio/perror.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/stdio/perror.c b/src/stdio/perror.c
index 2aae8470..788bb4fc 100644
--- a/src/stdio/perror.c
+++ b/src/stdio/perror.c
@@ -1,8 +1,9 @@
+#include <errno.h>
#include <stdio.h>
-#include "string.h"
-#include "errno.h"
+#include <string.h>
/** print an error message **/
+
void perror(const char *s)
{
if (s != NULL && *s != '\0') {
@@ -23,7 +24,5 @@ pointed to by ARGUMENT(s), a colon (CHAR(:)), and a space.
/*
POSIX_(L_C_MESSAGES)
-*/
-/*
STDC(1)
*/