summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-05 03:19:16 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-05 03:19:16 +0000
commit7848ebc766dc543b932aa9c08c41c4dc793424ff (patch)
treef8f4af4dc9d63cbd87244f5ccc6a28319885f97e /lib-src
parente31a6274b2bb534338d8b7df7cd9913e9cdc253b (diff)
downloademacs-7848ebc766dc543b932aa9c08c41c4dc793424ff.tar.gz
(rindex): Add declaration.
Diffstat (limited to 'lib-src')
-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 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;