From 59c965997e945ad5da72b44e5fadf1801003e1a6 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Wed, 9 Apr 2025 18:55:12 +0300 Subject: [PATCH] using const char --- library/libsds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/libsds.h b/library/libsds.h index 1bc26a7..c11a432 100644 --- a/library/libsds.h +++ b/library/libsds.h @@ -28,7 +28,7 @@ typedef void (*SdsCallBack) (int callerRet, const char* msg, size_t len, void* u * @param channelId A unique identifier for the communication channel. * @return An opaque handle (void*) representing the instance, or NULL on failure. */ -void* NewReliabilityManager(char* channelId, SdsCallBack callback, void* userData); +void* NewReliabilityManager(const char* channelId, SdsCallBack callback, void* userData); #ifdef __cplusplus