=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/cmo.c,v retrieving revision 1.13 retrieving revision 1.15 diff -u -p -r1.13 -r1.15 --- OpenXM/src/kan96xx/plugin/cmo.c 2005/06/16 05:07:24 1.13 +++ OpenXM/src/kan96xx/plugin/cmo.c 2016/08/28 02:43:14 1.15 @@ -1,4 +1,4 @@ -/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo.c,v 1.12 2004/08/28 12:50:06 takayama Exp $*/ +/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo.c,v 1.14 2013/11/06 06:23:24 takayama Exp $*/ #include #include /* #include */ @@ -162,7 +162,7 @@ dumpCmoBuf(struct cmoBuffer *cb) char *s; if (cb->isStream) { printf("cmoBuffer is directed to a stream.\n"); - return; + return 0; } size = cb->pos; s = (char *)(cb->buf); @@ -173,6 +173,7 @@ dumpCmoBuf(struct cmoBuffer *cb) printf("%3x",(int)(unsigned char)s[i]); } putchar('\n'); + return 0; } /* This obsolete function is used to write data @@ -1462,7 +1463,8 @@ void *KSmathCapByStruct(void) mathcap->sm[10] = SM_dupErrors; mathcap->sm[11] = SM_pushCMOtag; mathcap->sm[12] = SM_executeFunctionWithOptionalArgument; - mathcap->smSize = 13; + mathcap->sm[13] = SM_nop; + mathcap->smSize = 14; return((void *)mathcap); }