Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>

* db/Makefile (subdir-dirs): Renamed from dbdirs.

	* Makerules (distinfo-vars): Add subdir-dirs.

	* MakeTAGS: Remove vpath directives.
	(all-dirs): Prepend $(subdir-dirs).
	(all-sources, all-headers): Use wildcard to find sources.
Thu Jan 25 21:10:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* db/Makefile (subdir-dirs): Renamed from dbdirs.

	* Makerules (distinfo-vars): Add subdir-dirs.

	* MakeTAGS: Remove vpath directives.
	(all-dirs): Prepend $(subdir-dirs).
	(all-sources, all-headers): Use wildcard to find sources.

Mon Jan 29 10:44:38 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
	variables.

	* mach/msgserver.c: Declare DEMUX arg with prototype.
This commit is contained in:
Roland McGrath 1996-01-29 16:05:21 +00:00
parent dc825f85f4
commit 19c3f20809
8 changed files with 103 additions and 99 deletions

View File

@ -1,3 +1,20 @@
Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* db/Makefile (subdir-dirs): Renamed from dbdirs.
* Makerules (distinfo-vars): Add subdir-dirs.
* MakeTAGS: Remove vpath directives.
(all-dirs): Prepend $(subdir-dirs).
(all-sources, all-headers): Use wildcard to find sources.
Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
variables.
* mach/msgserver.c: Declare DEMUX arg with prototype.
Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to

View File

@ -49,16 +49,12 @@ endif
# Find all sysdep dirs there are, but putting the ones # Find all sysdep dirs there are, but putting the ones
# we are configured to use first and preserving their order. # we are configured to use first and preserving their order.
all-dirs := $(objdir) \ all-dirs := $(subdir-dirs) \
$(objdir) \
$(sysdep-dirs) \ $(sysdep-dirs) \
$(source_dirs) \ $(source_dirs) \
$(filter-out $(sysdep-dirs),$(sysdep_dirs)) $(filter-out $(sysdep-dirs),$(sysdep_dirs))
vpath %.h $(all-dirs)
vpath %.c $(all-dirs)
vpath %.S $(all-dirs)
vpath %.s $(all-dirs)
# Find all the subdirs there are, but putting the ones # Find all the subdirs there are, but putting the ones
# we are configured to use first and preserving their order. # we are configured to use first and preserving their order.
ifndef subdir ifndef subdir
@ -83,15 +79,17 @@ all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist))
# All different versions of $(sources), preserving the configured sysdep # All different versions of $(sources), preserving the configured sysdep
# directory order. # directory order.
all-sources = $(shell find . $(all-dirs) -maxdepth 1 \( -name fnord \ all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) \
$(foreach file,$(sort $(sources) $(sources:.c=.S) \ $(sources:.c=.s))) \
$(sources:.c=.s)),\ $(foreach dir,$(all-dirs),\
-o -name $(file)) \ $(wildcard \
\) -print) $(addprefix $(dir)/,\
$(sort $(sources) $(sources:.c=.S) \
$(sources:.c=.s)))))
all-headers = $(shell find . $(all-dirs) -maxdepth 1 \( -name fnord \ all-headers = $(wildcard $(headers)) \
$(foreach file,$(headers),-o -name $(file)) \ $(foreach dir,$(all-dirs),\
\) -print) $(wildcard $(addprefix $(dir)/,$(headers))))
tags_sources := $(strip $(tags_sources)) tags_sources := $(strip $(tags_sources))

View File

@ -681,7 +681,7 @@ distinfo: Makefile $(..)Makerules
define distinfo-vars define distinfo-vars
rm -f $@.new rm -f $@.new
$(foreach var,subdir sources elided-routines headers distribute \ $(foreach var,subdir subdir-dirs sources elided-routines headers distribute \
dont_distribute generated others tests, dont_distribute generated others tests,
echo >> $@.new '$(var) := $($(var))') echo >> $@.new '$(var) := $($(var))')
echo >> $@.new 'sources := $$(sources) $$(addsuffix .c,$$(elided-routines))' echo >> $@.new 'sources := $$(sources) $$(addsuffix .c,$$(elided-routines))'

View File

@ -5,8 +5,8 @@
subdir = db subdir = db
dbdirs = btree db hash mpool recno subdir-dirs = btree db hash mpool recno
vpath %.c $(dbdirs) vpath %.c $(subdir-dirs)
routines := bt_close bt_conv bt_debug bt_delete bt_get bt_open bt_overflow \ routines := bt_close bt_conv bt_debug bt_delete bt_get bt_open bt_overflow \
bt_page bt_put bt_search bt_seq bt_split bt_utils \ bt_page bt_put bt_search bt_seq bt_split bt_utils \

View File

@ -49,6 +49,9 @@ Cambridge, MA 02139, USA. */
/* /*
* HISTORY * HISTORY
* $Log$ * $Log$
* Revision 1.4 1996/01/29 15:44:23 roland
* Declare DEMUX arg with prototype.
*
* Revision 1.3 1995/01/21 15:00:57 roland * Revision 1.3 1995/01/21 15:00:57 roland
* Converted to use weak aliases with macros from libc-symbols.h. * Converted to use weak aliases with macros from libc-symbols.h.
* *
@ -183,7 +186,7 @@ weak_alias (__mach_msg_server_timeout, mach_msg_server_timeout)
mach_msg_return_t mach_msg_return_t
__mach_msg_server (demux, max_size, rcv_name) __mach_msg_server (demux, max_size, rcv_name)
boolean_t (*demux) (); boolean_t (*demux) (mach_msg_header_t *in, mach_msg_header_t *out);
mach_msg_size_t max_size; mach_msg_size_t max_size;
mach_port_t rcv_name; mach_port_t rcv_name;
{ {

View File

@ -2063,7 +2063,7 @@ argument list containing the values to be printed to your handler.
Unlike most other functions that can be passed an explicit variable Unlike most other functions that can be passed an explicit variable
argument list, this is a @emph{pointer} to a @code{va_list}, rather than argument list, this is a @emph{pointer} to a @code{va_list}, rather than
the @code{va_list} itself. Thus, you should fetch arguments by the @code{va_list} itself. Thus, you should fetch arguments by
means of @code{va_arg (@var{type}, *ap_pointer)}. means of @code{va_arg (*ap_pointer, @var{type})}.
(Passing a pointer here allows the function that calls your handler (Passing a pointer here allows the function that calls your handler
function to update its own @code{va_list} variable to account for the function to update its own @code{va_list} variable to account for the

View File

@ -1,5 +1,5 @@
/* error.h -- declaration for error-reporting function /* error.h -- declaration for error-reporting function
Copyright (C) 1995 Software Foundation, Inc. Copyright (C) 1995, 1996 Software Foundation, Inc.
This file is part of the GNU C Library. Its master source is NOT part of This file is part of the GNU C Library. Its master source is NOT part of
the C library, however. The master source lives in /gd/gnu/lib. the C library, however. The master source lives in /gd/gnu/lib.
@ -35,11 +35,23 @@ Cambridge, MA 02139, USA. */
# endif # endif
#endif #endif
#if __STDC__ #if defined (__STDC__) && __STDC__
void error (int, int, const char *, ...) \
/* Print a message with `fprintf (stderr, FORMAT, ...)';
if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
If STATUS is nonzero, terminate the program with `exit (STATUS)'. */
extern void error (int status, int errnum, const char *format, ...)
__attribute__ ((__format__ (__printf__, 3, 4))); __attribute__ ((__format__ (__printf__, 3, 4)));
/* If NULL, error will flush stdout, then print on stderr the program
name, a colon and a space. Otherwise, error will call this
function without parameters instead. */
extern void (*error_print_progname) (void);
#else #else
void error (); void error ();
extern void (*error_print_progname) ();
#endif #endif
/* This variable is incremented each time `error' is called. */ /* This variable is incremented each time `error' is called. */

View File

@ -1,26 +0,0 @@
/* O_*, F_*, FD_* bit values for Linux.
Copyright (C) 1995 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
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifndef _FCNTLBITS_H
#define _FCNTLBITS_H 1
#include <sys/types.h>
#include <linux/fcntl.h>
#endif /* fcntlbits.h */