/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"/usr/include/errno.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */

/* @(#) $Revision: ../hdr/errno.h@@/main/r11ros/cup_ros-cpe/cup_libc-ros-cpe/1 $ */
#ifndef _ERRNO_INCLUDED /* allow multiple inclusions */
#define _ERRNO_INCLUDED

#ifndef _SYS_STDSYMS_INCLUDED
#  include <sys/stdsyms.h>
#endif /* _SYS_STDSYMS_INCLUDED */

#ifdef _NAMESPACE_STD
#define _NAMESPACE_STD_START namespace std {
#define _NAMESPACE_STD_END }
#define _hpux_size_t std::size_t
#define __time_t std::time_t
#define __FILE std::FILE
#define __wint_t std::wint_t
#define __struct_tm std::tm
#define __va__list std::va_list
#else
#define _NAMESPACE_STD_START
#define _NAMESPACE_STD_END
#define _hpux_size_t size_t
#define __time_t time_t
#define __FILE FILE
#define __wint_t wint_t
#define __struct_tm struct tm
#define __va__list va_list
#endif

#ifdef _REENTRANT

#  ifdef __cplusplus
extern "C" {
#  endif /* __cplusplus */

#ifdef _PROTOTYPES
extern int *__errno(void);
#else 
extern int *__errno();
#endif 

#define	errno (*__errno())

#  ifdef __cplusplus
}
#  endif /* __cplusplus */

#else
	extern int errno;
#endif
#include <sys/errno.h>

#  ifdef __cplusplus

extern "C" {
_NAMESPACE_STD_START
    extern void perror(const char*);
    extern char *strerror (int);
_NAMESPACE_STD_END
    extern int sys_nerr;
    extern char *sys_errlist[];
}

#  endif


#endif /* _ERRNO_INCLUDED */
