Imported Upstream version 1.7.6p1
[debian/sudo] / utimes.c
index 6d260c4c8b14c8236bc05c5bfe258d76d8a411a8..5ff4379c0f9fb682a11e70d7553026f7c7a257a3 100644 (file)
--- a/utimes.c
+++ b/utimes.c
 #ifdef HAVE_UTIME_H
 # include <utime.h>
 #else
-# include <emul/utime.h>
+# include "emul/utime.h"
 #endif
 
-#include <compat.h>
-
-#ifndef lint
-__unused static const char rcsid[] = "$Sudo: utimes.c,v 1.10 2008/11/09 14:13:12 millert Exp $";
-#endif /* lint */
+#include "missing.h"
 
 #ifndef HAVE_UTIMES
 /*
@@ -49,9 +45,9 @@ utimes(file, times)
 
        utb.actime = (time_t)(times[0].tv_sec + times[0].tv_usec / 1000000);
        utb.modtime = (time_t)(times[1].tv_sec + times[1].tv_usec / 1000000);
-       return(utime(file, &utb));
+       return utime(file, &utb);
     } else
-       return(utime(file, NULL));
+       return utime(file, NULL);
 }
 #endif /* !HAVE_UTIMES */
 
@@ -69,8 +65,8 @@ futimes(fd, times)
 
        utb.actime = (time_t)(times[0].tv_sec + times[0].tv_usec / 1000000);
        utb.modtime = (time_t)(times[1].tv_sec + times[1].tv_usec / 1000000);
-       return(futime(fd, &utb));
+       return futime(fd, &utb);
     } else
-       return(futime(fd, NULL));
+       return futime(fd, NULL);
 }
 #endif /* HAVE_FUTIME */