summaryrefslogtreecommitdiff
path: root/lib/ZSendNot.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-07-05 22:09:03 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-07-05 22:09:03 +0000
commit6d052aeba968f16100de9e59add743abcfb06094 (patch)
tree368c868683b79102cca00e89abbe29987573e639 /lib/ZSendNot.c
parent63e063c0681783c90e604aa788dc4e9e52f0719b (diff)
safety
Diffstat (limited to 'lib/ZSendNot.c')
-rw-r--r--lib/ZSendNot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ZSendNot.c b/lib/ZSendNot.c
index 12f67c0..51b62a2 100644
--- a/lib/ZSendNot.c
+++ b/lib/ZSendNot.c
@@ -16,9 +16,9 @@
#include <zephyr/zephyr_internal.h>
-Code_t ZSendNotice(notice,cert)
+Code_t ZSendNotice(notice,cert_routine)
ZNotice_t *notice;
- int cert;
+ int (*cert_routine)();
{
Code_t retval;
char *buffer;
@@ -28,8 +28,8 @@ Code_t ZSendNotice(notice,cert)
if (!buffer)
return (ENOMEM);
- if ((retval = ZFormatNotice(notice,buffer,Z_MAXPKTLEN,&len,cert)) !=
- ZERR_NONE) {
+ if ((retval = ZFormatNotice(notice,buffer,Z_MAXPKTLEN,&len,
+ cert_routine)) != ZERR_NONE) {
free(buffer);
return (retval);
}