summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-13 12:20:07 +1000
committerBjoern Jacke <bj@sernet.de>2012-09-06 09:08:57 +0200
commit24013bda4526b1f1cb1c245da83f290210f6e6bc (patch)
treed5aae22aa21aba4e3a50b76ee9b1f90e360646c9 /source3/tests
parentb7b0d7d868027e6a9e63639838d811febc946109 (diff)
downloadsamba-24013bda4526b1f1cb1c245da83f290210f6e6bc.tar.gz
samba-24013bda4526b1f1cb1c245da83f290210f6e6bc.tar.bz2
samba-24013bda4526b1f1cb1c245da83f290210f6e6bc.zip
build: Remove Unicos support (quota in particular)
Unicos machines are long gone now (Cray now make Linux compute nodes), so remove the quota support. Andrew Bartlett Signed-off-by: Björn Jacke <bj@sernet.de>
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/sysquotas.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c
index 53d3a67aa1..e9a699c95a 100644
--- a/source3/tests/sysquotas.c
+++ b/source3/tests/sysquotas.c
@@ -65,26 +65,6 @@
return ret;
}
-#elif defined(HAVE_QUOTACTL_3)
-/* int quotactl (char *spec, int request, char *arg); */
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_QUOTA_H
-#include <sys/quota.h>
-#endif
-
- int autoconf_quota(void)
-{
- int ret = -1;
- struct q_request request;
-
- ret = quotactl("/", Q_GETQUOTA, &request);
-
- return ret;
-}
-
#elif defined(HAVE_QUOTACTL_2)
#error HAVE_QUOTACTL_2 not implemented