linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libquota: add a quotactl prototype
@ 2012-05-22 19:41 Mike Frysinger
  2012-05-28 14:20 ` Ted Ts'o
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2012-05-22 19:41 UTC (permalink / raw)
  To: linux-ext4; +Cc: adilger

The commit 0df8a27bbaf51b55c0e8c3a533ef4c2ff9d79c9f removed the system
quota.h include, but in doing so, added the problem:
mkquota.c:55:2: warning: implicit declaration of function 'quotactl'

Since we're maintaining a copy of quota.h, add a proper func prototype.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 lib/quota/quota.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/quota/quota.h b/lib/quota/quota.h
index a943ec6..3eaec1d 100644
--- a/lib/quota/quota.h
+++ b/lib/quota/quota.h
@@ -152,4 +152,9 @@ enum {
 };
 #define QUOTA_NL_A_MAX (__QUOTA_NL_A_MAX - 1)
 
+#ifdef HAVE_QUOTACTL
+extern int quotactl(int __cmd, const char *__special, int __id,
+		    caddr_t __addr);
+#endif
+
 #endif /* _QUOTA_ */
-- 
1.7.8.6


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-29  0:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 19:41 [PATCH] libquota: add a quotactl prototype Mike Frysinger
2012-05-28 14:20 ` Ted Ts'o
2012-05-28 14:45   ` Ted Ts'o
2012-05-28 15:31   ` Andreas Dilger
2012-05-29  0:37     ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).