open_cb_abort.c | open_cb_abort.c | |||
---|---|---|---|---|
/* Parser check */ | /* Parser check */ | |||
#include "test.h" | #include "test.h" | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#include <fcntl.h> | #include <fcntl.h> | |||
#include <string.h> | #include <string.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <errno.h> | #include <errno.h> | |||
#include <unistd.h> | ||||
static int saw_callback = 0; | static int saw_callback = 0; | |||
int callback(gd_parser_data_t *pdata __attribute__ (( unused )), | int callback(gd_parser_data_t *pdata __attribute__ (( unused )), | |||
void* extra __attribute__ (( unused ))) | void* extra __attribute__ (( unused ))) | |||
{ | { | |||
saw_callback++; | saw_callback++; | |||
return GD_SYNTAX_ABORT; | return GD_SYNTAX_ABORT; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |