about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-07 18:22:26 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-07 18:22:26 +0000
commitd3c99ad106cf34752247e03182ad36681af546f8 (patch)
treea5dce16e4f1adfe02d30ea3d1e5f281197585001 /sysdeps/generic
parent65e70412adc8ef60b7d4b1cf6116a29eddbdb7b2 (diff)
downloadglibc-d3c99ad106cf34752247e03182ad36681af546f8.tar.gz
glibc-d3c99ad106cf34752247e03182ad36681af546f8.tar.xz
glibc-d3c99ad106cf34752247e03182ad36681af546f8.zip
Update.
	* inet/netinet/in.h: Add more const to the setipv4soucefilter,
	getsourcefilter, and setsourcefilter parameter list.
	* sysdeps/generic/setipv4sourcefilter.c: Likewise.
	* sysdeps/generic/getsourcefilter.c: Likewise.
	* sysdeps/generic/setsourcefilter.c: Likewise.
	* sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
	* sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
	* sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/getsourcefilter.c2
-rw-r--r--sysdeps/generic/setipv4sourcefilter.c3
-rw-r--r--sysdeps/generic/setsourcefilter.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/generic/getsourcefilter.c b/sysdeps/generic/getsourcefilter.c
index 9f4f543b89..373550beb3 100644
--- a/sysdeps/generic/getsourcefilter.c
+++ b/sysdeps/generic/getsourcefilter.c
@@ -23,7 +23,7 @@
 
 
 int
-getsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t *fmode, uint32_t *numsrc,
 		 struct sockaddr_storage *slist)
 {
diff --git a/sysdeps/generic/setipv4sourcefilter.c b/sysdeps/generic/setipv4sourcefilter.c
index 18562a7499..db2b8433bb 100644
--- a/sysdeps/generic/setipv4sourcefilter.c
+++ b/sysdeps/generic/setipv4sourcefilter.c
@@ -24,7 +24,8 @@
 
 int
 setipv4sourcefilter (int s, struct in_addr interface, struct in_addr group,
-		     uint32_t fmode, uint32_t numsrc, struct in_addr *slist)
+		     uint32_t fmode, uint32_t numsrc,
+		     const struct in_addr *slist)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/sysdeps/generic/setsourcefilter.c b/sysdeps/generic/setsourcefilter.c
index 285a0980e1..870f5e2c38 100644
--- a/sysdeps/generic/setsourcefilter.c
+++ b/sysdeps/generic/setsourcefilter.c
@@ -23,9 +23,9 @@
 
 
 int
-setsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+setsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t fmode, uint32_t numsrc,
-		 struct sockaddr_storage *slist)
+		 const struct sockaddr_storage *slist)
 {
   __set_errno (ENOSYS);
   return -1;