(rindex): Add declaration.
This commit is contained in:
parent
0d3573ee67
commit
c4009c1f3d
1 changed files with 3 additions and 2 deletions
|
@ -143,6 +143,7 @@ static char *mail_spool_name ();
|
||||||
extern int errno;
|
extern int errno;
|
||||||
#endif
|
#endif
|
||||||
char *strerror ();
|
char *strerror ();
|
||||||
|
extern char *rindex ();
|
||||||
|
|
||||||
void fatal ();
|
void fatal ();
|
||||||
void error ();
|
void error ();
|
||||||
|
@ -566,8 +567,8 @@ mail_spool_name (inname)
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if ((stat1.st_dev == stat2.st_dev) &&
|
if (stat1.st_dev == stat2.st_dev
|
||||||
(stat1.st_ino == stat2.st_ino))
|
&& stat1.st_ino == stat2.st_ino)
|
||||||
return fname;
|
return fname;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue