]> granicus.if.org Git - sudo/commitdiff
avoid __P so there is no need for compat.h to be included
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 11 Sep 2004 16:25:27 +0000 (16:25 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 11 Sep 2004 16:25:27 +0000 (16:25 +0000)
emul/utime.h

index f1d0f44fdd786b89d2e432f03ceeae95b308734f..5d44fac4b38dadd904f5b513adbaef852c3f8d55 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1996,1998,1999,2004 Todd C. Miller <Todd.Miller@courtesan.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -22,6 +22,10 @@ struct       utimbuf {
        time_t  modtime;        /* mod time */
 };
 
-int utime      __P((const char *, const struct utimbuf *));
+#ifdef __STDC__
+int utime(const char *, const struct utimbuf *);
+#else
+int utime();
+#endif
 
 #endif /* _UTIME_H */