Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make

error.h C++ safe.
This commit is contained in:
Joel Sherrill
2000-05-30 14:07:37 +00:00
parent a3f5b6be31
commit 75061954c1

View File

@@ -7,6 +7,10 @@
#ifndef __RTEMS_ERROR_h
#define __RTEMS_ERROR_h
#ifdef __cplusplus
extern "C" {
#endif
/*
* rtems_error() and rtems_panic() support
*/
@@ -34,5 +38,10 @@ void rtems_panic(const char *printf_format, ...);
extern int rtems_panic_in_progress;
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */