diff options
author | Adam Jackson <ajax@redhat.com> | 2017-03-02 17:20:30 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-02 17:21:50 -0500 |
commit | f4ff7b6b559c3ebf7ec1156d170b3daa0618eec2 (patch) | |
tree | 3f2991ebb9a224005216ac46b2943f95b0669a20 /os/timingsafe_memcmp.c | |
parent | 1aa40b96e2f099eabfeef66e77fff36dbd377aa0 (diff) |
os: Squash missing declaration warning for timingsafe_memcmp
timingsafe_memcmp.c:21:1: warning: no previous prototype for ‘timingsafe_memcmp’ [-Wmissing-prototypes]
timingsafe_memcmp(const void *b1, const void *b2, size_t len)
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 5c44169caed811e59a65ba346de1cadb46d266ec)
Diffstat (limited to 'os/timingsafe_memcmp.c')
-rw-r--r-- | os/timingsafe_memcmp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/timingsafe_memcmp.c b/os/timingsafe_memcmp.c index 36ab362a7..65679c87a 100644 --- a/os/timingsafe_memcmp.c +++ b/os/timingsafe_memcmp.c @@ -16,6 +16,9 @@ #include <limits.h> #include <string.h> +#include <X11/Xfuncproto.h> +#include <dix-config.h> +#include "os.h" int timingsafe_memcmp(const void *b1, const void *b2, size_t len) |