libpcap/libpcap-0.9.5-nonvoid.diff

35 lines
578 B
Diff
Raw Normal View History

--- gencode.c
+++ gencode.c
@@ -5244,6 +5244,7 @@
bpf_error("invalid qualifier against IPv6 address");
/* NOTREACHED */
}
+ return NULL;
}
#endif /*INET6*/
@@ -5295,6 +5296,7 @@
}
bpf_error("ethernet address used in non-ether expression");
/* NOTREACHED */
+ return NULL;
}
void
@@ -5724,6 +5726,7 @@
}
bpf_error("too many registers needed to evaluate expression");
/* NOTREACHED */
+ return 0;
}
/*
@@ -6314,6 +6317,7 @@
}
bpf_error("ARCnet address used in non-arc expression");
/* NOTREACHED */
+ return NULL;
}
static struct block *