summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_log
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2021-08-31 18:01:58 +1000
committerPablo Neira Ayuso <pablo@netfilter.org>2021-09-06 12:01:40 +0200
commitd083308d1743c1860c0845d55e9fc9672f7ce2f3 (patch)
tree7fe7c358025f22a194802a1d754dd9b44d153aa3 /include/libnetfilter_log
parent7554070937f52c7f17b349ff4c4bb938ca20331f (diff)
src: whitespace: Remove trailing whitespace and inconsistent indents
All .c and .h files now have no lines with trailing whitespace. All .c and .h files now indent with tabs followed by <8 spaces. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnetfilter_log')
-rw-r--r--include/libnetfilter_log/libipulog.h4
-rw-r--r--include/libnetfilter_log/libnetfilter_log.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/libnetfilter_log/libipulog.h b/include/libnetfilter_log/libipulog.h
index 4d87913..8fba03a 100644
--- a/include/libnetfilter_log/libipulog.h
+++ b/include/libnetfilter_log/libipulog.h
@@ -12,7 +12,7 @@ extern "C" {
#endif
/* FIXME: glibc sucks */
-#ifndef MSG_TRUNC
+#ifndef MSG_TRUNC
#define MSG_TRUNC 0x20
#endif
@@ -55,7 +55,7 @@ const char *ipulog_strerror(int errcode);
void ipulog_perror(const char *s);
-enum
+enum
{
IPULOG_ERR_NONE = 0,
IPULOG_ERR_IMPL,
diff --git a/include/libnetfilter_log/libnetfilter_log.h b/include/libnetfilter_log/libnetfilter_log.h
index 6192fa3..c27149f 100644
--- a/include/libnetfilter_log/libnetfilter_log.h
+++ b/include/libnetfilter_log/libnetfilter_log.h
@@ -49,7 +49,7 @@ extern int nflog_set_flags(struct nflog_g_handle *gh, uint16_t flags);
extern int nflog_set_qthresh(struct nflog_g_handle *gh, uint32_t qthresh);
extern int nflog_set_nlbufsiz(struct nflog_g_handle *gh, uint32_t nlbufsiz);
-extern int nflog_callback_register(struct nflog_g_handle *gh,
+extern int nflog_callback_register(struct nflog_g_handle *gh,
nflog_callback *cb, void *data);
extern int nflog_handle_packet(struct nflog_handle *h, char *buf, int len);