Skip to content

Commit f28fbf7

Browse files
committed
fix issue with the duplicated name of max_socket_path_size from c
1 parent 57badf0 commit f28fbf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rpc/constants_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ package rpc
2222
/*
2323
#include <sys/un.h>
2424
25+
__attribute__((weak))
2526
int max_socket_path_size() {
2627
struct sockaddr_un s;
2728
return sizeof(s.sun_path);

0 commit comments

Comments
 (0)