Removed S_ISSOCK() macro as it's only used within winbind client code.
authorTim Potter <tpot@samba.org>
Tue, 8 May 2001 05:53:33 +0000 (05:53 +0000)
committerTim Potter <tpot@samba.org>
Tue, 8 May 2001 05:53:33 +0000 (05:53 +0000)
(This used to be commit 8fe76adb33bb7de19c8b2c8783dc6e3a3977bd8f)

source3/include/includes.h

index 5988393588296770c6a7586efa409550732d2347..9097d47652868d6fed4f632e1d2af7168000e9dc 100644 (file)
@@ -960,16 +960,6 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
 #define SHM_W 0200
 #endif
 
-
-/* Some systems (SCO) treat UNIX domain sockets as FIFOs */
-
-#ifndef S_IFSOCK
-#define S_IFSOCK S_IFIFO
-#endif
-#ifndef S_ISSOCK
-#define S_ISSOCK(mode)  ((mode & S_IFSOCK) == S_IFSOCK)
-#endif
-
 #if HAVE_KERNEL_SHARE_MODES
 #ifndef LOCK_MAND 
 #define LOCK_MAND      32      /* This is a mandatory flock */