summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2016-01-15 16:12:39 -0800
committerEthan Chen <intervigil@gmail.com>2016-01-15 16:12:41 -0800
commitdcc6b5fd693b129492a45ec75038ca582689bd5d (patch)
treef5fa1c3115b93170fe08bebec60d9d1cbd69339a
parenta9d594346e338b571713654b839be333b447e8c5 (diff)
downloadhardware_libhardware-dcc6b5fd693b129492a45ec75038ca582689bd5d.tar.gz
hardware_libhardware-dcc6b5fd693b129492a45ec75038ca582689bd5d.tar.bz2
hardware_libhardware-dcc6b5fd693b129492a45ec75038ca582689bd5d.zip
amplifier: Fix compilation warning
* Forward declare str_parms Change-Id: Iafb0ad8e4b0696807cfe568d0f89ce5dad6bcade
-rw-r--r--include/hardware/audio_amplifier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware/audio_amplifier.h b/include/hardware/audio_amplifier.h
index 4305094..e3477d5 100644
--- a/include/hardware/audio_amplifier.h
+++ b/include/hardware/audio_amplifier.h
@@ -38,6 +38,8 @@ __BEGIN_DECLS
#define AMPLIFIER_DEVICE_API_VERSION_2_0 HARDWARE_DEVICE_API_VERSION(2, 0)
#define AMPLIFIER_DEVICE_API_VERSION_CURRENT AMPLIFIER_DEVICE_API_VERSION_2_0
+struct str_parms;
+
typedef struct amplifier_device {
/**
* Common methods of the amplifier device. This *must* be the first member