From db3edebe07d5d4bd40f18384a841307d3d7ab5cb Mon Sep 17 00:00:00 2001 From: allen Date: Mon, 18 Oct 1999 11:39:53 +0000 Subject: Splitting general and internal functions git-svn-id: http://svn.cactuscode.org/flesh/trunk@1058 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk_WarnLevel.h | 9 +++++---- src/include/cctki_WarnLevel.h | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 src/include/cctki_WarnLevel.h diff --git a/src/include/cctk_WarnLevel.h b/src/include/cctk_WarnLevel.h index 79338034..cfea4fe9 100644 --- a/src/include/cctk_WarnLevel.h +++ b/src/include/cctk_WarnLevel.h @@ -14,11 +14,12 @@ extern "C" { #endif -int CCTKi_SetWarnLevel(int level); -void CCTK_Warn(int level, int line, const char *file, const char *thorn, const char *message); +void CCTK_Warn(int level, + int line, + const char *file, + const char *thorn, + const char *message); void CCTK_ParamWarn(const char *thorn, const char *message); -void CCTKi_FinaliseParamWarn(void); -int CCTKi_SetErrorLevel(int level); void CCTK_Info(const char *thorn, const char *message); #ifdef __cplusplus diff --git a/src/include/cctki_WarnLevel.h b/src/include/cctki_WarnLevel.h new file mode 100644 index 00000000..034ca568 --- /dev/null +++ b/src/include/cctki_WarnLevel.h @@ -0,0 +1,25 @@ + /*@@ + @header cctki_WarnLevel.h + @date Wed Feb 17 00:53:55 1999 + @author Tom Goodale + @desc + Header for the internal warning functions. + @enddesc + @@*/ + +#ifndef _CCTKI_WARNLEVEL_H_ +#define _CCTKI_WARNLEVEL_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +int CCTKi_SetWarnLevel(int level); +void CCTKi_FinaliseParamWarn(void); +int CCTKi_SetErrorLevel(int level); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3