X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fperror.c;h=022f82ddcdbd97c9491c53ccf8c90c23c5d080d4;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=23ce68bd356cc11e997dcdabf4873b32156b2204;hpb=ce0e5d8cd76b50f239fb8e95170502b146247b35;p=pdclib diff --git a/functions/stdio/perror.c b/functions/stdio/perror.c index 23ce68b..022f82d 100644 --- a/functions/stdio/perror.c +++ b/functions/stdio/perror.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* perror( const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -7,12 +5,11 @@ */ #include - -#ifndef REGTEST - #include #include +#ifndef REGTEST + /* TODO: Doing this via a static array is not the way to do it. */ void perror( const char * s ) { @@ -34,7 +31,9 @@ void perror( const char * s ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" + #include #include #include