$Log$
+ Revision 580.90 2001/12/03 17:02:50 ajc
+ * dynloader.c: fixed improperly done declaration and mallok()
+
Revision 580.89 2001/12/03 04:28:02 ajc
* mime_parser.c: now uses built-in functions to decode base64 and
quoted-printable attachments, instead of piping data to outboard programs.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
void CtdlRegisterProtoHook(void (*handler) (char *), char *cmd, char *desc)
{
- struct ProtoFunctionHook *p = mallok(sizeof *p);
+ struct ProtoFunctionHook *p;
+
+ p = (struct ProtoFunctionHook *)
+ mallok(sizeof(struct ProtoFunctionHook));
if (p == NULL) {
fprintf(stderr, "can't malloc new ProtoFunctionHook\n");