summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util.h b/util.h
index d4933c4..0c3d263 100644
--- a/util.h
+++ b/util.h
@@ -58,10 +58,10 @@ static inline void __noreturn panic(const char *fmt, ...)
exit(EXIT_FAILURE);
}
-void *xmalloc(size_t size);
-void *xzalloc(size_t size);
-void *xrealloc(void *ptr, size_t size);
-char *xstrdup(const char *s);
+void *xmalloc(size_t size) __warn_unused_result;
+void *xzalloc(size_t size) __warn_unused_result;
+void *xrealloc(void *ptr, size_t size) __warn_unused_result;
+char *xstrdup(const char *s) __warn_unused_result;
static inline bool xstreq(const char *str1, const char *str2)
{
ref='/cgit.cgi/linux/net-next.git/commit/net?id=b745d0358db44ebcef31478314436d6d4ff93bfa'>netfilter: nfnetlink: get rid of u_intX_t typesPablo Neira Ayuso1-8/+8 2017-02-12netfilter: nf_ct_expect: nf_ct_expect_insert() returns voidGao Feng1-5/+3 2017-02-12netfilter: nf_ct_sip: Use mod_timer_pending()Gao Feng1-7/+5 2017-02-11net_sched: fix error recovery at qdisc creationEric Dumazet5-23/+19 2017-02-11net: rename dst_neigh_output back to neigh_outputJulian Anastasov2-2/+2 2017-02-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller