Skip to content

Commit

Permalink
libmpg123: mark some local functions static, not to be exported by ac…
Browse files Browse the repository at this point in the history
…cident

git-svn-id: svn://scm.orgis.org/mpg123/trunk@5456 35dc7657-300d-0410-a2e5-dc2837fedb53
  • Loading branch information
thor committed Nov 22, 2024
1 parent 167302a commit 5859112
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libmpg123/format.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ static void conv_s16_to_s32(struct outbuffer *buf)

#include "../common/swap_bytes_impl.h"

void swap_endian(struct outbuffer *buf, int block)
static void swap_endian(struct outbuffer *buf, int block)
{
size_t count;

Expand Down
2 changes: 1 addition & 1 deletion src/libmpg123/id3.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ static int promote_framename(mpg123_handle *fr, char *id) /* fr because of VERBO

#endif /* NO_ID3V2 */

int store_id3v2( mpg123_handle *fr
static int store_id3v2( mpg123_handle *fr
, unsigned long first4bytes, unsigned char buf[6], unsigned long length )
{
int ret = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/libmpg123/optimize.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ static const char *mpg123_decoder_list[] =
NULL
};

void check_decoders(void)
static void check_decoders(void)
{
#ifndef OPT_MULTI
/* In non-multi mode, only the full list (one entry) is used. */
Expand Down

0 comments on commit 5859112

Please sign in to comment.