summaryrefslogtreecommitdiff
path: root/bpqchat.h
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-03 22:18:58 +0000
committerDave Hibberd <hibby@debian.org>2025-02-03 22:18:58 +0000
commit64d58d0c5a01551f8bfc52291986d1b8d681aca5 (patch)
tree4f846e63762be51699156e460c79be53d8045521 /bpqchat.h
parenta5c4d344ccf55a47fd6bc91a327073915b6c281e (diff)
New upstream version 6.0.24.59a+repackupstream/6.0.24.59a+repack
Diffstat (limited to 'bpqchat.h')
-rw-r--r--bpqchat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/bpqchat.h b/bpqchat.h
index ea322c8..05d0349 100644
--- a/bpqchat.h
+++ b/bpqchat.h
@@ -603,7 +603,7 @@ VOID __cdecl nprintf(ChatCIRCUIT * conn, const char * format, ...);
VOID nputs(ChatCIRCUIT * conn, char * buf);
#endif
BOOL matchi(char * p1, char * p2);
-char * strlop(const char * buf, char delim);
+char * strlop(char * buf, char delim);
int rt_cmd(ChatCIRCUIT *circuit, char * Buffer);
ChatCIRCUIT *circuit_new(ChatCIRCUIT *circuit, int flags);
void makelinks(void);
@@ -687,7 +687,11 @@ int RemoveLF(char * Message, int len);
struct SEM;
BOOL isdigits(char * string);
-void GetSemaphore(struct SEM * Semaphore, int ID);
+
+
+#define GetSemaphore(Semaphore,ID) _GetSemaphore(Semaphore, ID, __FILE__, __LINE__)
+
+void _GetSemaphore(struct SEM * Semaphore, int ID, char * File, int Line);
void FreeSemaphore(struct SEM * Semaphore);
VOID __cdecl Debugprintf(const char * format, ...);