X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=blobdiff_plain;f=source3%2Finclude%2Fsmb.h;h=d7a576de857227ee890ba5aa227f71c5ee64cacd;hp=057a0b755060d27f2a70ecc6ad4bc3f9e8164f19;hb=c9fa24b7a8809a7963f0970cf2dd21f6804e31a4;hpb=7c20ee083f6820a4c8776cefae3e0477f79ea934 diff --git a/source3/include/smb.h b/source3/include/smb.h index 057a0b75506..d7a576de857 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -46,8 +46,12 @@ /* Default number of hash buckets used in shared memory share mode */ #ifndef SHMEM_HASH_SIZE +#ifdef SEMMSL +#define SHMEM_HASH_SIZE (SEMMSL-1) +#else #define SHMEM_HASH_SIZE 113 #endif +#endif #define NMB_PORT 137 #define DGRAM_PORT 138 @@ -1328,7 +1332,6 @@ struct share_ops { /* each implementation of the shared memory code needs to support the following operations */ struct shmem_ops { - BOOL (*open)(char *, int ); BOOL (*close)( void ); int (*alloc)(int ); BOOL (*free)(int );