// OS/2 stuff to support multithreading for some 'global' variables #include "includes.h" #ifdef USE_OS2MT_STUFF static int cligettid() { int tid = _gettid(); if (tid < 0 || tid > SMBCD_MAX_THREADS) { tid = 0; } return tid; } MTFUNC(int, smb_read_error) MTFUNC(struct in_addr, lastip) MTFUNC(int, lastport) MTFUNC(TALLOC_CTX*, list_head) #endif