On Friday 20 November 2009 14:05:07 Bernhard Reutner-Fischer wrote:
> --- /dev/null
> +++ b/libc/sysdeps/linux/common/futimens.c
> @@ -0,0 +1,23 @@
> +#include <sys/syscall.h>
> +#define __need_timespec
> +#include <time.h>
> +#ifdef __NR_utimensat
> +extern int utimensat (int __fd, __const char *__path,
> + __const struct timespec __times[2],
> + int __flags) __THROW;
> +libc_hidden_proto(utimensat)
> +
> +int futimens (int fd, __const struct timespec ts[2])
> +{
> + return utimensat(fd, 0, ts, 0);
> +}
> +#endifyou've added the hidden proto to the header which defines utimensat, so why are you duplicating it here ? makes no sense to do this ... also, these sprinkling of __need_xxx around in source files looks wrong -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
