From ffb3f2a19f4780e45ea0b95520aeb73c20893c44 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 23 Sep 2012 14:35:58 +1000 Subject: lib/replace: Remove unused nap and therefore the SCO define In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett --- lib/replace/replace.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/replace') diff --git a/lib/replace/replace.c b/lib/replace/replace.c index 322bf49e91..ebfe04d5d3 100644 --- a/lib/replace/replace.c +++ b/lib/replace/replace.c @@ -214,16 +214,6 @@ int rep_initgroups(char *name, gid_t id) #endif /* HAVE_INITGROUPS */ -#if (defined(SecureWare) && defined(SCO)) -/* This is needed due to needing the nap() function but we don't want - to include the Xenix libraries since that will break other things... - BTW: system call # 0x0c28 is the same as calling nap() */ -long nap(long milliseconds) { - return syscall(0x0c28, milliseconds); - } -#endif - - #ifndef HAVE_MEMMOVE /******************************************************************* safely copies memory, ensuring no overlap problems. -- cgit