mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Mark everythings that's local to ogg.c as static.
This commit is contained in:
parent
b586f84a3a
commit
2406597356
2 changed files with 5 additions and 12 deletions
|
@ -41,17 +41,10 @@ typedef enum
|
|||
|
||||
void OGG_Init(void);
|
||||
void OGG_PlayTrack(int track);
|
||||
void OGG_Shutdown(void);
|
||||
void OGG_Read(void);
|
||||
void OGG_Shutdown(void);
|
||||
void OGG_Stop(void);
|
||||
void OGG_Stream(void);
|
||||
|
||||
/* Console commands. */
|
||||
void OGG_PauseCmd(void);
|
||||
void OGG_PlayCmd(void);
|
||||
void OGG_PlayTrack(int track);
|
||||
void OGG_ResumeCmd(void);
|
||||
void OGG_StatusCmd(void);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -56,7 +56,7 @@ enum { MAX_NUM_OGGTRACKS = 32 };
|
|||
static char* oggTracks[MAX_NUM_OGGTRACKS];
|
||||
static int oggMaxFileIndex;
|
||||
|
||||
enum GameType {
|
||||
static enum GameType {
|
||||
other, // incl. baseq2
|
||||
xatrix,
|
||||
rogue
|
||||
|
@ -210,7 +210,7 @@ OGG_InitTrackList(void)
|
|||
* Play a portion of the currently opened file.
|
||||
*/
|
||||
void
|
||||
OGG_Read(void)
|
||||
static OGG_Read(void)
|
||||
{
|
||||
long read_bytes = ov_read(&ovFile, ovBuf, sizeof(ovBuf), bigendien, OGG_SAMPLEWIDTH, 1, &ovSection);
|
||||
|
||||
|
@ -380,7 +380,7 @@ OGG_PlayTrack(int trackNo)
|
|||
/*
|
||||
* List Ogg Vorbis files and print current playback state.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
OGG_Info(void)
|
||||
{
|
||||
Com_Printf("Tracks:\n");
|
||||
|
@ -454,7 +454,7 @@ OGG_Stop(void)
|
|||
/*
|
||||
* Pause or resume playback.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
OGG_TogglePlayback(void)
|
||||
{
|
||||
if (ogg_status == PLAY)
|
||||
|
|
Loading…
Reference in a new issue