From 7d25696a35c32b242425aa0e77d1b4d938d1262e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 19 Oct 1998 00:45:33 +0000 Subject: 1998-10-19 Roland McGrath * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_DL_ERROR. * hurd/Makefile (user-interfaces): Add login, password. * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses. --- ChangeLog | 9 +++++++++ hurd/Makefile | 4 +++- hurd/hurd/threadvar.h | 3 ++- sysdeps/mach/hurd/Makefile | 4 ++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 29b0976..f0da07f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1998-10-19 Roland McGrath + + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_DL_ERROR. + + * hurd/Makefile (user-interfaces): Add login, password. + + * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses. + 1998-08-06 Mark Kettenis [submitted 1998-08-06] diff --git a/hurd/Makefile b/hurd/Makefile index 441c66c..85aa30a 100644 --- a/hurd/Makefile +++ b/hurd/Makefile @@ -35,7 +35,9 @@ user-interfaces := $(addprefix hurd/,\ process process_request \ msg msg_reply msg_request \ exec exec_startup crash interrupt \ - fs fsys io term tioctl socket ifsock) + fs fsys io term tioctl socket ifsock \ + login password \ + ) server-interfaces := hurd/msg faultexc routines = hurdstartup hurdinit \ diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h index b10efe9..55cb5af 100644 --- a/hurd/hurd/threadvar.h +++ b/hurd/hurd/threadvar.h @@ -1,5 +1,5 @@ /* Internal per-thread variables for the Hurd. - Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -61,6 +61,7 @@ enum __hurd_threadvar_index _HURD_THREADVAR_SIGSTATE, /* This thread's `struct hurd_sigstate'. */ _HURD_THREADVAR_DYNAMIC_USER, /* Dynamically-assigned user variables. */ _HURD_THREADVAR_MALLOC, /* For use of malloc. */ + _HURD_THREADVAR_DL_ERROR, /* For use of -ldl and dynamic linker. */ _HURD_THREADVAR_MAX /* Default value for __hurd_threadvar_max. */ }; diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 42e9a79..f87f530 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -25,6 +25,10 @@ subdirs := $(filter-out sunrpc,$(subdirs)) # XXX skip broken dirs # Look for generated header files where they get created. includes += -I$(..)hurd -I$(common-objpfx)hurd/ +# We use the style `if (err = call(...))' a lot in the Hurd code, +# where we have a lot of functions that return zero or an errno code. ++cflags += -Wno-parentheses + # Do not use any assembly code from sysdeps/unix (and subdirectories). # This bypasses all the system call stubs and uses any existing posix or # generic C files instead. -- cgit v1.1