projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
「'」エラーのテスト修正
[YACASL2.git]
/
src
/
cerr.c
diff --git
a/src/cerr.c
b/src/cerr.c
index
121b680
..
be3e58b
100644
(file)
--- a/
src/cerr.c
+++ b/
src/cerr.c
@@
-7,7
+7,7
@@
char *cerrmsg;
/* エラー番号とエラーメッセージを設定する */
void setcerr(int num, const char *val)
{
/* エラー番号とエラーメッセージを設定する */
void setcerr(int num, const char *val)
{
- assert(
&
cerr != NULL && num > 0);
+ assert(cerr != NULL && num > 0);
cerrno = num;
cerrmsg = malloc(MSGSIZE + 1);
cerrno = num;
cerrmsg = malloc(MSGSIZE + 1);
@@
-23,7
+23,7
@@
void setcerr(int num, const char *val)
/* エラー番号からメッセージを返す */
char *getcerrmsg(int num)
{
/* エラー番号からメッセージを返す */
char *getcerrmsg(int num)
{
- assert(
&
cerr != NULL && num > 0);
+ assert(cerr != NULL && num > 0);
int i = 0;
CERRARRAY *ptr;
int i = 0;
CERRARRAY *ptr;