Skip to content

Commit

Permalink
Move wav_start_capture prototype to avoid a warning with -Wmissing-pr…
Browse files Browse the repository at this point in the history
…ototypes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5423 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
blueswir1 committed Oct 5, 2008
1 parent 8869def commit 295e390
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions audio/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u);
#define audio_MAX(a, b) ((a)<(b)?(b):(a))
#endif

int wav_start_capture (CaptureState *s, const char *path, int freq,
int bits, int nchannels);

#endif /* audio.h */
3 changes: 0 additions & 3 deletions monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1337,9 +1337,6 @@ static void do_stop_capture (int n)
}

#ifdef HAS_AUDIO
int wav_start_capture (CaptureState *s, const char *path, int freq,
int bits, int nchannels);

static void do_wav_capture (const char *path,
int has_freq, int freq,
int has_bits, int bits,
Expand Down

0 comments on commit 295e390

Please sign in to comment.