aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-05 03:19:16 +0000
committerRichard M. Stallman1997-07-05 03:19:16 +0000
commitc4009c1f3dca5e5e240ec732f1a617ae62c0c64c (patch)
tree0b1f44edb3242691d97ce970dc0a4bf98cd32b3e /lib-src
parent0d3573ee676c2bacc3921ff616cc0709466a8e5b (diff)
downloademacs-c4009c1f3dca5e5e240ec732f1a617ae62c0c64c.tar.gz
emacs-c4009c1f3dca5e5e240ec732f1a617ae62c0c64c.zip
(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 ();
143extern int errno; 143extern int errno;
144#endif 144#endif
145char *strerror (); 145char *strerror ();
146extern char *rindex ();
146 147
147void fatal (); 148void fatal ();
148void error (); 149void error ();
@@ -566,8 +567,8 @@ mail_spool_name (inname)
566 if (status < 0) 567 if (status < 0)
567 return NULL; 568 return NULL;
568 569
569 if ((stat1.st_dev == stat2.st_dev) && 570 if (stat1.st_dev == stat2.st_dev
570 (stat1.st_ino == stat2.st_ino)) 571 && stat1.st_ino == stat2.st_ino)
571 return fname; 572 return fname;
572 573
573 return NULL; 574 return NULL;