X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Funixsock.c;h=795f7abe2120f7e4d4930895f9c1af014a7addeb;hb=4ea7aebc3f05d082f64a62c679f414cf7cb0e631;hp=e62ed6c0596b5ddb29848e66805d6e5ffd036f1c;hpb=2cf10557f58144e13793a3d69ae5d4b7c8d6c305;p=collectd.git diff --git a/src/unixsock.c b/src/unixsock.c index e62ed6c0..795f7abe 100644 --- a/src/unixsock.c +++ b/src/unixsock.c @@ -39,7 +39,6 @@ /* Folks without pthread will need to disable this plugin. */ #include -#include #include #include @@ -152,7 +151,7 @@ static int us_open_socket (void) do { - char *grpname; + const char *grpname; struct group *g; struct group sg; char grbuf[2048];