Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/bouyer-quota2]: src/sys/sys Kill duplicate definitions
details: https://anonhg.NetBSD.org/src/rev/bb94371e6c9d
branches: bouyer-quota2
changeset: 761142:bb94371e6c9d
user: bouyer <bouyer%NetBSD.org@localhost>
date: Wed Feb 09 11:31:25 2011 +0000
description:
Kill duplicate definitions
diffstat:
sys/sys/quota.h | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
diffs (33 lines):
diff -r c4eeb7a7e2db -r bb94371e6c9d sys/sys/quota.h
--- a/sys/sys/quota.h Wed Feb 09 11:18:29 2011 +0000
+++ b/sys/sys/quota.h Wed Feb 09 11:31:25 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index