Module Name: src
Committed By: bouyer
Date: Wed Feb 9 11:31:25 UTC 2011
Modified Files:
src/sys/sys [bouyer-quota2]: quota.h
Log Message:
Kill duplicate definitions
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/sys/quota.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/quota.h
diff -u src/sys/sys/quota.h:1.1.2.1 src/sys/sys/quota.h:1.1.2.2
--- src/sys/sys/quota.h:1.1.2.1 Thu Jan 20 14:25:01 2011
+++ src/sys/sys/quota.h Wed Feb 9 11:31:25 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: quota.h,v 1.1.2.1 2011/01/20 14:25:01 bouyer Exp $ */
+/* $NetBSD: quota.h,v 1.1.2.2 2011/02/09 11:31:25 bouyer Exp $ */
/*-
* Copyright (c) 2010 Manuel Bouyer
* All rights reserved.
@@ -30,23 +30,6 @@
#ifndef _SYS_QUOTA_H_
#define _SYS_QUOTA_H_
-/*
- * quota types available in the system. We expect this to be shared
- * by all filesystems.
- */
-#define MAXQUOTAS 2
-#define USRQUOTA 0 /* element used for user quotas */
-#define GRPQUOTA 1 /* element used for group quotas */
-
-/*
- * Definitions for the default names for types above
- */
-#define INITQFNAMES { \
- "user", /* USRQUOTA */ \
- "group", /* GRPQUOTA */ \
- "undefined", \
-}
-
#ifndef _KERNEL
__BEGIN_DECLS
int quotactl(const char *, struct plistref *) __RENAME(__quotactl50);