projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shutdown関数の追加
[YACASL2.git]
/
include
/
cerr.h
diff --git
a/include/cerr.h
b/include/cerr.h
index
f651c7d
..
a4d1246
100644
(file)
--- a/
include/cerr.h
+++ b/
include/cerr.h
@@
-5,6
+5,7
@@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
+#include <stdbool.h>
#ifndef ARRAYSIZE
#define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
#ifndef ARRAYSIZE
#define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
@@
-37,7
+38,7
@@
enum {
};
/* エラーを追加する */
};
/* エラーを追加する */
-
void
addcerrlist(int cerrc, CERRARRAY cerrv[]);
+
bool
addcerrlist(int cerrc, CERRARRAY cerrv[]);
/* エラー番号とエラーメッセージを設定 */
void setcerr(int num, const char *str);
/* エラー番号とエラーメッセージを設定 */
void setcerr(int num, const char *str);