mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
port.c: MagAtof() constify and add prototype
This commit is contained in:
committed by
Tim Edwards
parent
14a8409e40
commit
5b97638ac7
+1
-1
@@ -42,7 +42,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||
|
||||
float
|
||||
MagAtof(s)
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
#ifdef linux
|
||||
float flt;
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ extern gzFile flock_zopen();
|
||||
*/
|
||||
#define LAST_BIT_OF(x) ((x) & ~((x) - 1))
|
||||
|
||||
extern float MagAtof();
|
||||
extern float MagAtof(const char *s);
|
||||
|
||||
extern int Wait(int *status);
|
||||
extern int WaitPid(int pid, int *status);
|
||||
|
||||
Reference in New Issue
Block a user