aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-07-05 03:19:16 +0000
committerRichard M. Stallman <[email protected]>1997-07-05 03:19:16 +0000
commitc4009c1f3dca5e5e240ec732f1a617ae62c0c64c (patch)
tree0b1f44edb3242691d97ce970dc0a4bf98cd32b3e
parent0d3573ee676c2bacc3921ff616cc0709466a8e5b (diff)
(rindex): Add declaration.
-rw-r--r--lib-src/movemail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index 4d82440134..866f0b0813 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;