From: Mike L. <mli...@us...> - 2002-01-13 02:53:46
|
Update of /cvsroot/bitcollider/bitcollider/skel In directory usw-pr-cvs1:/tmp/cvs-serv28513 Modified Files: skel.c Log Message: context* was incorrectly context in a few places Index: skel.c =================================================================== RCS file: /cvsroot/bitcollider/bitcollider/skel/skel.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** skel.c 2001/05/30 17:39:12 1.2 --- skel.c 2002/01/13 02:53:44 1.3 *************** *** 32,40 **** /* OR */ ! static Context skel_analyze_init(void); ! static void skel_analyze_update(Context context, const unsigned char *buf, unsigned bufLen); ! static Attribute *skel_analyze_final(Context context); --- 32,40 ---- /* OR */ ! static Context *skel_analyze_init(void); ! static void skel_analyze_update(Context *context, const unsigned char *buf, unsigned bufLen); ! static Attribute *skel_analyze_final(Context *context); *************** *** 117,121 **** } ! static Context skel_analyze_init(void) { SkelContext *context; --- 117,121 ---- } ! static Context *skel_analyze_init(void) { SkelContext *context; *************** *** 124,131 **** memset(context, 0, sizeof(SkelContext)); ! return (Context)context; } ! static void skel_analyze_update(Context contextArg, const unsigned char *buf, unsigned bufLen) --- 124,131 ---- memset(context, 0, sizeof(SkelContext)); ! return (Context *)context; } ! static void skel_analyze_update(Context *contextArg, const unsigned char *buf, unsigned bufLen) *************** *** 135,139 **** } ! static Attribute *skel_analyze_final(Context contextArg) { SkelContext *context = (SkelContext *)contextArg; --- 135,139 ---- } ! static Attribute *skel_analyze_final(Context *contextArg) { SkelContext *context = (SkelContext *)contextArg; |