Valgrindで見つかったメモリー周辺の問題点を修正
[YACASL2.git] / include / cerr.h
index 1433f90..5ff200c 100644 (file)
@@ -7,7 +7,7 @@
 /**
  * エラーの構造体
  */
-typedef struct {
+typedef struct _CERR {
     int num;        /**<エラー番号 */
     char *msg;      /**<エラーメッセージ */
 } CERR;
@@ -43,7 +43,12 @@ void cerr_init();
 /**
  * エラーリストを作成・追加する
  */
-bool addcerrlist(int cerrc, CERR cerrv[]);
+void addcerrlist(int cerrc, CERR cerrv[]);
+
+/**
+ * エラーリストを表示する
+ */
+void printcerrlist();
 
 /**
  * 現在のエラーを設定する