diff options
author | Christopher Ferris <cferris@google.com> | 2017-02-23 16:00:27 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-02-24 10:48:15 -0800 |
commit | d53a23b61bc6769faf1d929177a58948f4018ab6 (patch) | |
tree | b2609519bb1c9d2bc5b38b7c21fbd19b046da33e | |
parent | 10dbaaa7263682e5100616cc630b4fbba31fb6fc (diff) | |
download | extras-d53a23b61bc6769faf1d929177a58948f4018ab6.tar.gz |
Remove references to kernel macros.
The macros __force, __bitwise, __user are related to a kernel tool called
sparse to find kernel bugs. These macros are always defined as nothing
in the current uapi kernel header files, so these don't need to be here.
Change-Id: Ia29b0ddbe80298dc19b170c927f1910e14af2c6b
Test: Builds without warnings/errors.
-rw-r--r-- | tests/audio/alsa/pcmtest.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/audio/alsa/pcmtest.cpp b/tests/audio/alsa/pcmtest.cpp index 7233e104..090334e1 100644 --- a/tests/audio/alsa/pcmtest.cpp +++ b/tests/audio/alsa/pcmtest.cpp @@ -23,9 +23,6 @@ #include <stdlib.h> #include <gtest/gtest.h> #include <linux/ioctl.h> -#define __force -#define __bitwise -#define __user #include <sound/asound.h> #include <sys/types.h> #include <tinyalsa/asoundlib.h> |