Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -Werror=strict-prototypes #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions libaudiofile/g711.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ static int search(int val, const short *table, int size)
* John Wiley & Sons, pps 98-111 and 472-476.
*/
unsigned char
_af_linear2alaw(pcm_val)
int pcm_val; /* 2's complement (16-bit range) */
_af_linear2alaw(int pcm_val) /* 2's complement (16-bit range) */
{
int mask;
int seg;
Expand Down Expand Up @@ -110,8 +109,7 @@ _af_linear2alaw(pcm_val)
*
*/
int
_af_alaw2linear(a_val)
unsigned char a_val;
_af_alaw2linear(unsigned char a_val)
{
int t;
int seg;
Expand Down
4 changes: 2 additions & 2 deletions sfcommands/sfinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void errorHandler(long error, const char *message)
fprintf(stderr, "sfinfo: %s [error %ld]\n", message, error);
}

void printusage()
void printusage(void)
{
printf("usage: sfinfo [options...] soundfiles...\n");
printf("options:\n");
Expand All @@ -58,7 +58,7 @@ void printusage()
printf(" -v, --version Print version\n");
}

void printversion()
void printversion(void)
{
printf("sfinfo: Audio File Library version %s\n", VERSION);
}
Expand Down