diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
commit | cd972535027a73ba70069051fe9038b6a8b5696a (patch) | |
tree | b50696bddbc710192b89e34fcdd1e82e6c8073b7 /intern/audaspace | |
parent | aca76ddb502cbf0ee7888c3356f9f35240919410 (diff) |
- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
Diffstat (limited to 'intern/audaspace')
-rw-r--r-- | intern/audaspace/intern/AUD_C-API.h | 14 | ||||
-rw-r--r-- | intern/audaspace/intern/AUD_PyInit.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/intern/audaspace/intern/AUD_C-API.h b/intern/audaspace/intern/AUD_C-API.h index 08f2845de4f..71b5ca82430 100644 --- a/intern/audaspace/intern/AUD_C-API.h +++ b/intern/audaspace/intern/AUD_C-API.h @@ -58,7 +58,7 @@ typedef struct /** * Initializes FFMPEG if it is enabled. */ -extern void AUD_initOnce(); +extern void AUD_initOnce(void); /** * Initializes an audio device. @@ -72,17 +72,17 @@ extern int AUD_init(AUD_DeviceType device, AUD_DeviceSpecs specs, int buffersize /** * Unitinitializes an audio device. */ -extern void AUD_exit(); +extern void AUD_exit(void); /** * Locks the playback device. */ -extern void AUD_lock(); +extern void AUD_lock(void); /** * Unlocks the device. */ -extern void AUD_unlock(); +extern void AUD_unlock(void); /** * Returns information about a sound. @@ -471,9 +471,9 @@ extern void AUD_muteSequencer(AUD_Sound* sequencer, AUD_SequencerEntry* entry, extern int AUD_readSound(AUD_Sound* sound, sample_t* buffer, int length); -extern void AUD_startPlayback(); +extern void AUD_startPlayback(void); -extern void AUD_stopPlayback(); +extern void AUD_stopPlayback(void); extern void AUD_seekSequencer(AUD_Channel* handle, float time); @@ -483,7 +483,7 @@ extern float AUD_getSequencerPosition(AUD_Channel* handle); extern void AUD_setSyncCallback(AUD_syncFunction function, void* data); #endif -extern int AUD_doesPlayback(); +extern int AUD_doesPlayback(void); #ifdef __cplusplus } diff --git a/intern/audaspace/intern/AUD_PyInit.h b/intern/audaspace/intern/AUD_PyInit.h index 0b80b3a9ae1..6f18bdbe2d1 100644 --- a/intern/audaspace/intern/AUD_PyInit.h +++ b/intern/audaspace/intern/AUD_PyInit.h @@ -36,7 +36,7 @@ extern "C" { /** * Initalizes the Python module. */ -extern PyObject* AUD_initPython(); +extern PyObject* AUD_initPython(void); #ifdef __cplusplus } |