]> pd.if.org Git - pdclib/blobdiff - opt/tss_errno/errno.c
PDCLib includes with quotes, not <>.
[pdclib] / opt / tss_errno / errno.c
index 6a606fc1b40752afabc267ac3610e50a08730713..75a564fbfd2033356944a2b49616c6e498835b75 100644 (file)
@@ -1,11 +1,10 @@
-/* $Id$ */
-
 /* _PDCLIB_errno
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#include <errno.h>
 #ifndef REGTEST
 #include <threads.h>
 
@@ -13,7 +12,7 @@
 
 static int _PDCLIB_errno = 0;
 
-int * _PDCLIB_errno()
+int * _PDCLIB_errno_func()
 {
     return &_PDCLIB_errno;
 }
@@ -21,9 +20,7 @@ int * _PDCLIB_errno()
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
-
-#include <errno.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {