diff options
author | Chris Robinson <[email protected]> | 2018-12-24 19:29:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-24 19:29:01 -0800 |
commit | fbae41020d8968d0e65af08584df4736b5ed7239 (patch) | |
tree | b2bb3297e5e5b4cf348e4e9379dfa4366dd8aa2d /Alc/backends/base.h | |
parent | 194e7ff815d744830c8aaedfb0d32ed3c3d01645 (diff) |
Remove extraneous typedef, struct, and enum keywords
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index f4de5176..f7be5cd0 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -34,7 +34,7 @@ ClockLatency GetClockLatency(ALCdevice *device); struct ALCbackendVtable; struct ALCbackend { - const struct ALCbackendVtable *vtbl; + const ALCbackendVtable *vtbl; ALCdevice *mDevice; @@ -84,7 +84,7 @@ DECLARE_THUNK(T, ALCbackend, void, unlock) \ static void T##_ALCbackend_Delete(void *ptr) \ { T##_Delete(STATIC_UPCAST(T, ALCbackend, (ALCbackend*)ptr)); } \ \ -static const struct ALCbackendVtable T##_ALCbackend_vtable = { \ +static const ALCbackendVtable T##_ALCbackend_vtable = { \ T##_ALCbackend_Destruct, \ \ T##_ALCbackend_open, \ @@ -114,7 +114,7 @@ struct BackendFactory { virtual bool querySupport(ALCbackend_Type type) = 0; - virtual void probe(enum DevProbe type, std::string *outnames) = 0; + virtual void probe(DevProbe type, std::string *outnames) = 0; virtual ALCbackend *createBackend(ALCdevice *device, ALCbackend_Type type) = 0; }; |