aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
committerEric Wong <normalperson@yhbt.net>2008-08-31 03:57:25 -0700
commitc52667aa8eee2a40547026735b9670a2221d4168 (patch)
tree09a27d6adbfbe8b2f54828851b892c6d5d4e19ea /src/interface.h
parentad02ebe21138fed633af5465d1690db103c4934e (diff)
downloadmpd-c52667aa8eee2a40547026735b9670a2221d4168.tar.gz
mpd-c52667aa8eee2a40547026735b9670a2221d4168.tar.xz
mpd-c52667aa8eee2a40547026735b9670a2221d4168.zip
const pointers
The usual bunch of pointer arguments which should be const.
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.h b/src/interface.h
index a364f7922..c83381319 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -22,10 +22,10 @@
#include "os_compat.h"
void initInterfaces(void);
-void openAInterface(int fd, struct sockaddr *addr);
+void openAInterface(int fd, const struct sockaddr *addr);
void freeAllInterfaces(void);
void closeOldInterfaces(void);
-int interfacePrintWithFD(int fd, char *buffer, size_t len);
+int interfacePrintWithFD(int fd, const char *buffer, size_t len);
int doIOForInterfaces(void);