From: Paul Moore <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
---
src/gen_bpf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gen_bpf.c b/src/gen_bpf.c
index c9190564..dfaef4e9 100644
--- a/src/gen_bpf.c
+++ b/src/gen_bpf.c
@@ -203,7 +203,7 @@ static struct bpf_blk *_hsh_find(const struct bpf_state
*state, uint64_t h_val);
* Convert the endianess of the supplied value and return it to the caller.
*
*/
-uint16_t _htot16(const struct arch_def *arch, uint16_t val)
+static uint16_t _htot16(const struct arch_def *arch, uint16_t val)
{
if (arch->endian == ARCH_ENDIAN_LITTLE)
return htole16(val);
@@ -219,7 +219,7 @@ uint16_t _htot16(const struct arch_def *arch, uint16_t val)
* Convert the endianess of the supplied value and return it to the caller.
*
*/
-uint32_t _htot32(const struct arch_def *arch, uint32_t val)
+static uint32_t _htot32(const struct arch_def *arch, uint32_t val)
{
if (arch->endian == ARCH_ENDIAN_LITTLE)
return htole32(val);
--
You received this message because you are subscribed to the Google Groups
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.