From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, han.lu@intel.com, Vinod Koul <vinod.koul@intel.com>
Subject: [PATCH] alsabat: make snr_is_valid static
Date: Tue, 19 Jul 2016 14:35:09 +0530 [thread overview]
Message-ID: <1468919109-28287-1-git-send-email-vinod.koul@intel.com> (raw)
The compilation fails due to multiple defination of snr_is_valid
common.o: In function `snr_is_valid':
bat/common.h:99: multiple definition of `snr_is_valid'
bat.o:bat/common.h:99: first defined here
signal.o: In function `snr_is_valid':
bat/common.h:99: multiple definition of `snr_is_valid'
bat.o:bat/common.h:99: first defined here
latencytest.o: In function `snr_is_valid':
bat/common.h:99: multiple definition of `snr_is_valid'
bat.o:bat/common.h:99: first defined here
analyze.o: In function `snr_is_valid':
bat/common.h:99: multiple definition of `snr_is_valid'
bat.o:bat/common.h:99: first defined here
alsa.o: In function `snr_is_valid':
bat/common.h:99: multiple definition of `snr_is_valid'
bat.o:bat/common.h:99: first defined here
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
bat/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bat/common.h b/bat/common.h
index db49868a419a..1b07fbeb7755 100644
--- a/bat/common.h
+++ b/bat/common.h
@@ -94,7 +94,7 @@
#define SNR_DB_MIN 0.0
#define SNR_DB_MAX 200.0
-inline bool snr_is_valid(float db)
+static inline bool snr_is_valid(float db)
{
return (db > SNR_DB_MIN && db < SNR_DB_MAX);
}
--
1.9.1
next reply other threads:[~2016-07-19 8:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 9:05 Vinod Koul [this message]
2016-07-20 5:23 ` [PATCH] alsabat: make snr_is_valid static Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468919109-28287-1-git-send-email-vinod.koul@intel.com \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=han.lu@intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox