mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
set.c: SetNoisyBool() constify and add prototype
This commit is contained in:
committed by
Tim Edwards
parent
2b69b07860
commit
f22ecda44a
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user