Message ID | 1337715710-9484-1-git-send-email-vapier@gentoo.org |
---|---|
State | Accepted, archived |
Headers | show |
On Tue, May 22, 2012 at 09:41:50AM -0000, Mike Frysinger wrote: > This code uses time() but doesn't include time.h leading to: > quotaio.c:89:2: warning: implicit declaration of function 'time' > > Signed-off-by: Mike Frysinger <vapier@gentoo.org> Thanks, applied. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/lib/quota/quotaio.c b/lib/quota/quotaio.c index 481d5f5..6e917f0 100644 --- a/lib/quota/quotaio.c +++ b/lib/quota/quotaio.c @@ -11,6 +11,7 @@ #include <string.h> #include <unistd.h> #include <stdlib.h> +#include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/file.h>
This code uses time() but doesn't include time.h leading to: quotaio.c:89:2: warning: implicit declaration of function 'time' Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- lib/quota/quotaio.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)