1
0
Fork 0

Add "const" to localSocketPath

This commit is contained in:
Yoshiki Oka 2023-04-22 19:48:35 +09:00
parent 47044b10f3
commit 902ba2f7dc
2 changed files with 3 additions and 3 deletions

View file

@ -396,7 +396,7 @@ CO_ReturnError_t CO_epoll_createGtw(CO_epoll_gtw_t *epGtw,
int epoll_fd,
int32_t commandInterface,
uint32_t socketTimeout_ms,
char *localSocketPath)
const char *localSocketPath)
{
int ret;
struct epoll_event ev = {0};

View file

@ -237,7 +237,7 @@ typedef struct {
/** Socket timeout timer in microseconds */
uint32_t socketTimeoutTmr_us;
/** Path in case of local socket */
char *localSocketPath;
const char *localSocketPath;
/** Gateway socket file descriptor */
int gtwa_fdSocket;
/** Gateway io stream file descriptor */
@ -265,7 +265,7 @@ CO_ReturnError_t CO_epoll_createGtw(CO_epoll_gtw_t *epGtw,
int epoll_fd,
int32_t commandInterface,
uint32_t socketTimeout_ms,
char *localSocketPath);
const char *localSocketPath);
/**
* Close gateway-ascii sockets