]> pd.if.org Git - pdclib/blobdiff - includes/errno.h
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[pdclib] / includes / errno.h
index 2795fdf6c727128b247a0c742471e23a0f228ff6..039368c8f53ec2878fbaf0d151fe164e9f7f4af5 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$ */
 
-/* Errors <errno.h>
+/* 7.5 Errors <errno.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -8,16 +8,14 @@
 
 #ifndef _PDCLIB_ERRNO_H
 #define _PDCLIB_ERRNO_H _PDCLIB_ERRNO_H
-
-#ifndef _PDCLIB_INT_H
-#define _PDCLIB_INT_H _PDCLIB_INT_H
 #include <_PDCLIB_int.h>
-#endif
+_PDCLIB_BEGIN_EXTERN_C
 
 #define errno (*_PDCLIB_errno_func())
 
 #define ERANGE _PDCLIB_ERANGE
 #define EDOM _PDCLIB_EDOM
 
+_PDCLIB_END_EXTERN_C
 #endif