From c4009c1f3dca5e5e240ec732f1a617ae62c0c64c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 5 Jul 1997 03:19:16 +0000 Subject: [PATCH] (rindex): Add declaration. --- lib-src/movemail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 4d824401349..866f0b08139 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -143,6 +143,7 @@ static char *mail_spool_name (); extern int errno; #endif char *strerror (); +extern char *rindex (); void fatal (); void error (); @@ -566,8 +567,8 @@ mail_spool_name (inname) if (status < 0) return NULL; - if ((stat1.st_dev == stat2.st_dev) && - (stat1.st_ino == stat2.st_ino)) + if (stat1.st_dev == stat2.st_dev + && stat1.st_ino == stat2.st_ino) return fname; return NULL; -- 2.39.2