diff options
author | Paul Moore <paul@paul-moore.com> | 2017-02-24 10:33:35 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-02-24 10:33:35 -0500 |
commit | 0d945be5b6d49248d91aa1a0555f749a8da9aaa7 (patch) | |
tree | c8086fd614207af91b3dc027836c518b68b0ef62 /src | |
parent | bee71b1c6493dba41725f53592184680958f09af (diff) | |
download | libseccomp-0d945be5b6d49248d91aa1a0555f749a8da9aaa7.tar.gz |
bpf: mark static functions as static
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gen_bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_bpf.c b/src/gen_bpf.c index c919056..dfaef4e 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); |