/[gentoo-x86]/sys-fs/e2fsprogs/files/e2fsprogs-1.42.3-quota-time.patch
Gentoo

Contents of /sys-fs/e2fsprogs/files/e2fsprogs-1.42.3-quota-time.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 22 19:45:50 2012 UTC (2 years, 7 months ago) by vapier
Branch: MAIN
Version bump #416771 by Samuli Suominen.

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 From 90202c13466fcde28fd56d349a3380d68dbda5f2 Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Tue, 22 May 2012 15:05:18 -0400
4 Subject: [PATCH] libquota: add missing time.h include
5
6 This code uses time() but doesn't include time.h leading to:
7 quotaio.c:89:2: warning: implicit declaration of function 'time'
8
9 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
10 ---
11 lib/quota/quotaio.c | 1 +
12 1 files changed, 1 insertions(+), 0 deletions(-)
13
14 diff --git a/lib/quota/quotaio.c b/lib/quota/quotaio.c
15 index 481d5f5..6e917f0 100644
16 --- a/lib/quota/quotaio.c
17 +++ b/lib/quota/quotaio.c
18 @@ -11,6 +11,7 @@
19 #include <string.h>
20 #include <unistd.h>
21 #include <stdlib.h>
22 +#include <time.h>
23 #include <sys/types.h>
24 #include <sys/stat.h>
25 #include <sys/file.h>
26 --
27 1.7.8.6

  ViewVC Help
Powered by ViewVC 1.1.20