summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-10 17:22:05 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-10 17:22:05 +0200
commit255698e00c6200be70b6e72eec76c154249ac581 (patch)
tree2fd0c1befa221e2d74a9189e1645576f36a59ca4 /pcap_io.h
parentb435a7a1b3fa6eec367d9b48a1f9b9cf13d617fa (diff)
make: allow to overwrite CFLAGS, CCACHE
Allow to define custom compile flags, e.g. ... make CFLAGS="-O2 -Wall" ... and also allow to overwrite ccache variable: make CCACHE= all Also do some minor fixes when built with -O2 -Wall. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'pcap_io.h')
-rw-r--r--pcap_io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap_io.h b/pcap_io.h
index a491f39..64689af 100644
--- a/pcap_io.h
+++ b/pcap_io.h
@@ -132,9 +132,9 @@ struct pcap_file_ops {
void (*fsync_pcap)(int fd);
};
-extern const struct pcap_file_ops pcap_rw_ops;
-extern const struct pcap_file_ops pcap_sg_ops;
-extern const struct pcap_file_ops pcap_mm_ops;
+extern const struct pcap_file_ops pcap_rw_ops __maybe_unused;
+extern const struct pcap_file_ops pcap_sg_ops __maybe_unused;
+extern const struct pcap_file_ops pcap_mm_ops __maybe_unused;
static inline uint16_t tp_to_pcap_tsource(uint32_t status)
{