Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918eeb3
)
libquota: add missing time.h include
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 28 May 2012 14:21:19 +0000
(10:21 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 28 May 2012 14:31:24 +0000
(10:31 -0400)
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>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/quota/quotaio.c
patch
|
blob
|
history
diff --git
a/lib/quota/quotaio.c
b/lib/quota/quotaio.c
index
481d5f5
..
6e917f0
100644
(file)
--- 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>