Added bogusly placed extern prototypes for functions that should probably

be static.
This commit is contained in:
Bruce Evans 1995-11-24 15:08:07 +00:00
parent d818a9cc1f
commit b8a89c9ada
7 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,9 @@
#ifndef EXCLUDE_GUS
#include "gus_linearvol.h"
extern unsigned short gus_adagio_vol (int vel, int mainv, int xpn, int voicev);
extern unsigned short gus_linear_vol (int vol, int mainvol);
#define GUS_VOLUME gus_wave_volume

View File

@ -31,6 +31,11 @@
#include <machine/ultrasound.h>
#include "gus_hw.h"
extern unsigned char gus_look8 __P((int reg));
extern unsigned short gus_read16 __P((int reg));
extern void gus_write_addr __P((int reg, unsigned long address, int is16bit));
extern void gus_write16 __P((int reg, unsigned int data));
#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_GUS)
#define MAX_SAMPLE 150

View File

@ -29,6 +29,8 @@
#include "sound_config.h"
extern void drain_midi_queue __P((int dev));
#if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_MIDI)
/*

View File

@ -35,6 +35,10 @@
#define DEFINE_TRANSLATIONS
#include "pas.h"
extern int config_pas_hw __P((struct address_info *hw_config));
extern int detect_pas_hw __P((struct address_info *hw_config));
extern void pas2_msg __P((char *foo));
/*
* The Address Translation code is used to convert I/O register addresses to
* be relative to the given base -register

View File

@ -35,6 +35,10 @@
#include "pas.h"
extern void mix_write __P((unsigned char data, int ioaddr));
extern int pas_mixer_ioctl __P((int dev, unsigned int cmd, unsigned int arg));
extern void set_mode __P((int new_mode));
#define TRACE(what) /* (what) */
extern int translat_code;

View File

@ -34,6 +34,10 @@
#include "pas.h"
extern int pcm_set_bits __P((int arg));
extern int pcm_set_channels __P((int arg));
extern int pcm_set_speed __P((int arg));
#if !defined(EXCLUDE_PAS) && !defined(EXCLUDE_AUDIO)
#define TRACE(WHAT) /*

View File

@ -31,6 +31,8 @@
#include "sound_config.h"
#include "midi_ctrl.h"
extern void seq_drain_midi_queues __P((void));
#ifdef CONFIGURE_SOUNDCARD
#ifndef EXCLUDE_SEQUENCER