changeset 18626:d3d968d0773a

(rindex): Add declaration.
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Jul 1997 03:19:16 +0000
parents 9b5b989d1857
children c372b7e6669b
files lib-src/movemail.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/movemail.c	Sat Jul 05 02:41:45 1997 +0000
+++ b/lib-src/movemail.c	Sat Jul 05 03:19:16 1997 +0000
@@ -143,6 +143,7 @@
 extern int errno;
 #endif
 char *strerror ();
+extern char *rindex ();
 
 void fatal ();
 void error ();
@@ -566,8 +567,8 @@
   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;