From c29f210e917a75a6ab6c0aba7c7db47116e37394 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Fri, 11 May 2012 00:17:33 +0930 Subject: [PATCH] Remove some duplicate defs in audio_msm_g1.c --- audio_msm_g1.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/audio_msm_g1.c b/audio_msm_g1.c index a58ca2c7..a713d568 100644 --- a/audio_msm_g1.c +++ b/audio_msm_g1.c @@ -20,12 +20,6 @@ Copyright (C) 2008 The Android Open Source Project */ -int setReason(char *fmt, ...); -#define WHY(X) setReason("%s:%d:%s() %s",__FILE__,__LINE__,__FUNCTION__,X) -#define WHYRETNULL(X) { setReason("%s:%d:%s() %s",__FILE__,__LINE__,__FUNCTION__,X); return NULL; } -#define WHYF(F, ...) setReason("%s:%d:%s() " F, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__) -#define WHY_perror(X) setReason("%s:%d:%s() %s: %s [errno=%d]", __FILE__, __LINE__, __FUNCTION__, X, strerror(errno), errno) - extern int playFd; extern int recordFd; extern int playBufferSize;