diff options
Diffstat (limited to 'pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch')
| -rw-r--r-- | pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch b/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch new file mode 100644 index 00000000..49a4f18b --- /dev/null +++ b/pkg/strace/patch/0001-Don-t-return-expression-in-void-function.patch @@ -0,0 +1,36 @@ +From f19be9dcb5afff4fab29d629eb9e0bcc4d6975a7 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Fri, 5 Jul 2019 20:52:24 -0700 +Subject: [PATCH] Don't return expression in void function + +--- + defs.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/defs.h b/defs.h +index 512ad51f..2dd5d65b 100644 +--- a/defs.h ++++ b/defs.h +@@ -609,7 +609,7 @@ extern bool pathtrace_match_set(struct tcb *, struct path_set *); + static inline void + pathtrace_select(const char *path) + { +- return pathtrace_select_set(path, &global_path_set); ++ pathtrace_select_set(path, &global_path_set); + } + + static inline bool +@@ -754,8 +754,8 @@ static inline void + printxval_dispatch(const struct xlat *xlat, size_t xlat_size, uint64_t val, + const char *dflt, enum xlat_type xt) + { +- return printxval_dispatch_ex(xlat, xlat_size, val, dflt, xt, +- XLAT_STYLE_DEFAULT); ++ printxval_dispatch_ex(xlat, xlat_size, val, dflt, xt, ++ XLAT_STYLE_DEFAULT); + } + + enum xlat_style_private_flag_bits { +-- +2.22.0 + |
