summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/cctk_WarnLevel.h9
-rw-r--r--src/include/cctki_WarnLevel.h25
2 files changed, 30 insertions, 4 deletions
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