aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-18 23:58:00 -0700
committerChris Robinson <[email protected]>2011-08-18 23:58:00 -0700
commitc96a6c2b1bb90317fd95dfddbec4f492c17fef50 (patch)
treed79ba3bdb5e5c207d16ee5df1332b2f629d56864
parent0b0588cc37c7be4c94563366d6d3e004f3a6e9fb (diff)
Remove a typedef
-rw-r--r--Alc/ALc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 24ebeef6..320a6301 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -63,14 +63,14 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad,
#define EmptyFuncs { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
-typedef struct BackendInfo {
+struct BackendInfo {
const char *name;
ALCboolean (*Init)(BackendFuncs*);
void (*Deinit)(void);
void (*Probe)(enum DevProbe);
BackendFuncs Funcs;
-} BackendInfo;
-static BackendInfo BackendList[] = {
+};
+static struct BackendInfo BackendList[] = {
#ifdef HAVE_PULSEAUDIO
{ "pulse", alc_pulse_init, alc_pulse_deinit, alc_pulse_probe, EmptyFuncs },
#endif
@@ -112,7 +112,7 @@ static BackendInfo BackendList[] = {
{ NULL, NULL, NULL, NULL, EmptyFuncs }
};
-static BackendInfo BackendLoopback = {
+static struct BackendInfo BackendLoopback = {
"loopback", alc_loopback_init, alc_loopback_deinit, alc_loopback_probe, EmptyFuncs
};
#undef EmptyFuncs
@@ -617,7 +617,7 @@ static void alc_initconfig(void)
}
else
{
- BackendInfo Bkp = BackendList[n];
+ struct BackendInfo Bkp = BackendList[n];
while(n > i)
{
BackendList[n] = BackendList[n-1];