summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-29 10:38:16 +0000
committerRoland McGrath <roland@gnu.org>2005-12-29 10:38:16 +0000
commit8ad684db49bf9dc109c409cac38f744e3fa260c7 (patch)
tree85546bf32fa60dcf4fbb2b8b6bce9c3c313c3cb1 /hurd
parentfc0c638f9d70a8436e060922159f94049884ecf9 (diff)
downloadglibc-8ad684db49bf9dc109c409cac38f744e3fa260c7.tar.gz
glibc-8ad684db49bf9dc109c409cac38f744e3fa260c7.tar.xz
glibc-8ad684db49bf9dc109c409cac38f744e3fa260c7.zip
* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
	* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
	* hurd/report-wait.c (_S_msg_report_wait): Likewise.

	* include/sys/xattr.h: New file.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/lookup-retry.c4
-rw-r--r--hurd/report-wait.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index 1f53f911a7..0a886229f0 100644
--- a/hurd/lookup-retry.c
+++ b/hurd/lookup-retry.c
@@ -1,5 +1,5 @@
 /* hairy bits of Hurd file name lookup
-   Copyright (C) 1992,1993,1994,1995,1996,1997,1999,2001,2002,2003
+   Copyright (C) 1992,1993,1994,1995,1996,1997,1999,2001,2002,2003,2005
 	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -247,7 +247,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 		  char *p;
 		  /* XXX want client's host */
 		  if (err = __host_info (__mach_host_self (), HOST_BASIC_INFO,
-					 (natural_t *) &hostinfo,
+					 (integer_t *) &hostinfo,
 					 &hostinfocnt))
 		    return err;
 		  if (hostinfocnt != HOST_BASIC_INFO_COUNT)
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index da0ca3bdb2..296b2eec42 100644
--- a/hurd/report-wait.c
+++ b/hurd/report-wait.c
@@ -140,7 +140,7 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread,
 	  error_t err;
 
 	  err = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR,
-				    (integer_t *) &state, &count);
+				    (natural_t *) &state, &count);
 	  if (err)
 	    return err;
 	  assert (count == MACHINE_THREAD_STATE_COUNT);