Fix incorrect function declaration
This commit is contained in:
parent
590072d1fb
commit
b9eff396ce
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
#define _HEXAGRAM_PCAPNG_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
enum {
|
||||
HEXAGRAM_PCAPNG_ERROR_OK = 0,
|
||||
|
@ -22,7 +23,7 @@ typedef struct _hexagram_pcapng_footer {
|
|||
|
||||
typedef int (hexagram_pcapng_block_handler)(int fd,
|
||||
uint32_t type,
|
||||
uint32_t length);
|
||||
size_t length);
|
||||
|
||||
ssize_t hexagram_pcapng_stream_read(int fd,
|
||||
hexagram_pcapng_block_handler *handler,
|
||||
|
|
Loading…
Add table
Reference in a new issue