Mercurial > mplayer.hg
comparison configure @ 26634:e183e2464abc
cosmetics: Remove unused argc/argv parameters from test programs.
author | diego |
---|---|
date | Sat, 03 May 2008 20:07:04 +0000 |
parents | f2c7d68935d4 |
children | 540968176bbf |
comparison
equal
deleted
inserted
replaced
26633:f2c7d68935d4 | 26634:e183e2464abc |
---|---|
3596 if test "$_apple_remote" = auto ; then | 3596 if test "$_apple_remote" = auto ; then |
3597 _apple_remote=no | 3597 _apple_remote=no |
3598 cat > $TMPC <<EOF | 3598 cat > $TMPC <<EOF |
3599 #include <stdio.h> | 3599 #include <stdio.h> |
3600 #include <IOKit/IOCFPlugIn.h> | 3600 #include <IOKit/IOCFPlugIn.h> |
3601 int main(int argc, const char * argv[]) | 3601 int main(void) { |
3602 { | |
3603 io_iterator_t hidObjectIterator = (io_iterator_t)NULL; | 3602 io_iterator_t hidObjectIterator = (io_iterator_t)NULL; |
3604 CFMutableDictionaryRef hidMatchDictionary; | 3603 CFMutableDictionaryRef hidMatchDictionary; |
3605 IOReturn ioReturnValue; | 3604 IOReturn ioReturnValue; |
3606 | 3605 |
3607 // Set up a matching dictionary to search the I/O Registry by class. | 3606 // Set up a matching dictionary to search the I/O Registry by class. |
4732 fi | 4731 fi |
4733 fi | 4732 fi |
4734 if test "$_sdl" = auto || test "$_sdl" = yes ; then | 4733 if test "$_sdl" = auto || test "$_sdl" = yes ; then |
4735 cat > $TMPC << EOF | 4734 cat > $TMPC << EOF |
4736 #include <SDL.h> | 4735 #include <SDL.h> |
4737 int main(int argc, char *argv[]) { | 4736 int main(void) { |
4738 SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE); | 4737 SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE); |
4739 return 0; | 4738 return 0; |
4740 } | 4739 } |
4741 EOF | 4740 EOF |
4742 _sdl=no | 4741 _sdl=no |