set.c: SetNoisyBool() constify and add prototype

This commit is contained in:
Darryl L. Miles 2024-10-12 09:27:45 +01:00 committed by Tim Edwards
parent 2b69b07860
commit f22ecda44a
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ SetNoisyInt(parm,valueS,file)
int
SetNoisyBool(parm,valueS,file)
bool *parm;
char *valueS;
const char *valueS;
FILE *file;
{
int n, which, result = -2;

View File

@ -84,7 +84,7 @@ extern gzFile PaLockZOpen(const char *file, const char *mode, const char *ext, c
extern char *PaCheckCompressed(const char *filename);
#endif
extern int SetNoisyBool(bool *, char *, FILE *);
extern int SetNoisyBool(bool *parm, const char *valueS, FILE *file);
#ifdef FILE_LOCKS
extern FILE *flock_open();