Changeset 127


Ignore:
Timestamp:
Jun 11, 2007, 7:33:45 AM (18 years ago)
Author:
Brendan Oakley
Message:

Various simple compile warning fixes.

Location:
GPL/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/include/sound/driver.h

    r123 r127  
    554554struct snd_card *snd_card_new(int idx, const char *id,
    555555                         struct module *module, int extra_size);
     556int snd_card_disconnect(struct snd_card *card);
    556557int snd_card_free(struct snd_card *card);
    557558int snd_card_register(struct snd_card *card);
  • GPL/trunk/alsa-kernel/pci/ymfpci/ymfpci_main.c

    r84 r127  
    2929#include <sound/info.h>
    3030#include <sound/ymfpci.h>
     31#include <sound/mpu401.h>
    3132#include <sound/timer.h>
    3233
  • GPL/trunk/include/ossidc32.h

    r32 r127  
    3434//32 bits IDC procedures
    3535//16 bits pdd calls this during init. OSS_InitDriver calls init_module
     36extern int MyDevBlock(ULONG id, ULONG tout, char flag);
    3637OSSRET OSS32_Initialize();
    3738OSSRET OSS32_Shutdown();
  • GPL/trunk/lib32/debug.c

    r32 r127  
    548548void StringOut(char *DbgStr)
    549549{
    550    int len, i;
     550   int len;
    551551   
    552552   len= _strnlen( DbgStr, 1024 );
     
    556556      */
    557557#ifdef DEBUG
     558   int i;
    558559   for( i= 0; i < len; i++ )
    559560      CharOut( DbgStr[i] );
  • GPL/trunk/lib32/ossidc.cpp

    r111 r127  
    102102OSSRET OSS32_Initialize(void)
    103103{
    104     int i;
    105 
    106104    fStrategyInit = TRUE;
    107105
     
    128126    if(call_module_init(alsa_mpu401_uart_init) != 0) return OSSERR_INIT_FAILED;
    129127#if 0
     128    int i;
     129
    130130    if (ForceCard != CARD_NONE)
    131131    {
     
    324324//******************************************************************************
    325325//******************************************************************************
    326 extern "C" int MyDevBlock(ULONG id, ULONG tout, char flag);
    327 
    328326int MyDevBlock(ULONG id, ULONG tout, char flag)
    329327{
  • GPL/trunk/lib32/soundoss.h

    r32 r127  
    7676OSSRET OSS32_FMMidiLoadInstruments(OSSSTREAMID streamid);
    7777
     78extern int ALSAToOSSDataType(ULONG ALSADataType);
     79OSSRET ALSAToOSSRateFlags(ULONG fuRates);
     80
    7881#endif //__SOUNDOSS_H__
    7982
Note: See TracChangeset for help on using the changeset viewer.