From: Todd C. Miller Date: Sat, 11 Sep 2004 16:25:27 +0000 (+0000) Subject: avoid __P so there is no need for compat.h to be included X-Git-Tag: SUDO_1_6_8p1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cc4d46d16167fe71c5835eaf918988e4589eb80;p=sudo avoid __P so there is no need for compat.h to be included --- diff --git a/emul/utime.h b/emul/utime.h index f1d0f44fd..5d44fac4b 100644 --- a/emul/utime.h +++ b/emul/utime.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 1998, 1999 Todd C. Miller + * Copyright (c) 1996,1998,1999,2004 Todd C. Miller * * 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 */