projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ntpd plugin: constify
[collectd.git]
/
src
/
unixsock.c
diff --git
a/src/unixsock.c
b/src/unixsock.c
index
e62ed6c
..
795f7ab
100644
(file)
--- a/
src/unixsock.c
+++ b/
src/unixsock.c
@@
-39,7
+39,6
@@
/* Folks without pthread will need to disable this plugin. */
#include <pthread.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
@@
-152,7
+151,7
@@
static int us_open_socket (void)
do
{
- char *grpname;
+ c
onst c
har *grpname;
struct group *g;
struct group sg;
char grbuf[2048];