mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
*** empty log message ***
Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * sysdeps/generic/schedbits.h (struct sched_param): Renamed from struct sched_params. * sysdeps/stub/sched_setp.c (__sched_setparam): struct sched_params -> struct sched_param. * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
This commit is contained in:
parent
a8ed817809
commit
39a0b05667
@ -1,3 +1,12 @@
|
|||||||
|
Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* sysdeps/generic/schedbits.h (struct sched_param): Renamed from
|
||||||
|
struct sched_params.
|
||||||
|
* sysdeps/stub/sched_setp.c (__sched_setparam): struct
|
||||||
|
sched_params -> struct sched_param.
|
||||||
|
* sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
|
||||||
|
* sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
|
||||||
|
|
||||||
Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
||||||
|
|
||||||
* sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
|
* sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
|
||||||
|
@ -32,11 +32,8 @@ routines := \
|
|||||||
perror psignal \
|
perror psignal \
|
||||||
tmpfile tmpnam tempnam tempname \
|
tmpfile tmpnam tempnam tempname \
|
||||||
getline getw putw \
|
getline getw putw \
|
||||||
remove rename
|
remove rename \
|
||||||
|
lockfile
|
||||||
ifneq (,$(filter %REENTRANT, $(defines)))
|
|
||||||
routines += lockfile
|
|
||||||
endif
|
|
||||||
|
|
||||||
aux := errlist siglist
|
aux := errlist siglist
|
||||||
distribute := _itoa.h printf-parse.h
|
distribute := _itoa.h printf-parse.h
|
||||||
|
@ -152,14 +152,9 @@ ssize_t __wprintf_pad __P ((FILE *, wchar_t pad, size_t n));
|
|||||||
# define is_longlong is_long_double
|
# define is_longlong is_long_double
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef _LIBC_REENTRANT
|
|
||||||
extern void __flockfile (FILE *);
|
extern void __flockfile (FILE *);
|
||||||
weak_extern (__flockfile);
|
weak_extern (__flockfile);
|
||||||
extern void __funlockfile (FILE *);
|
extern void __funlockfile (FILE *);
|
||||||
weak_extern (__funlockfile);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Global variables. */
|
/* Global variables. */
|
||||||
static const char null[] = "(null)";
|
static const char null[] = "(null)";
|
||||||
@ -1312,10 +1307,7 @@ do_positional:
|
|||||||
|
|
||||||
all_done:
|
all_done:
|
||||||
/* Unlock the stream. */
|
/* Unlock the stream. */
|
||||||
#ifdef USE_IN_LIBIO
|
|
||||||
/* (stdio has no locking yet.) */
|
|
||||||
__libc_cleanup_region_end (1);
|
__libc_cleanup_region_end (1);
|
||||||
#endif
|
|
||||||
|
|
||||||
return done;
|
return done;
|
||||||
}
|
}
|
||||||
|
@ -22,27 +22,3 @@ _dl_load_cache_lookup (const char *name)
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* Stubby version of dl-cache; the Hurd doesn't support this "feature".
|
|
||||||
Copyright (C) 1996 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., 675 Mass Ave,
|
|
||||||
Cambridge, MA 02139, USA. */
|
|
||||||
|
|
||||||
const char *
|
|
||||||
_dl_load_cache_lookup (const char *name)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
@ -59,16 +59,15 @@ typedef struct __libc_lock_opaque__ __libc_lock_t;
|
|||||||
/* Start a critical region with a cleanup function */
|
/* Start a critical region with a cleanup function */
|
||||||
#define __libc_cleanup_region_start(FCT, ARG) \
|
#define __libc_cleanup_region_start(FCT, ARG) \
|
||||||
{ \
|
{ \
|
||||||
(typeof FCT) __save_FCT = FCT; \
|
typeof (FCT) __save_FCT = FCT; \
|
||||||
(typeof ARG) __save_ARG = ARG; \
|
typeof (ARG) __save_ARG = ARG; \
|
||||||
/* close brace is in __libc_cleanup_region_end below. */
|
/* close brace is in __libc_cleanup_region_end below. */
|
||||||
|
|
||||||
/* End a critical region started with __libc_cleanup_region_start. */
|
/* End a critical region started with __libc_cleanup_region_start. */
|
||||||
#define __libc_cleanup_region_end(DOIT) \
|
#define __libc_cleanup_region_end(DOIT) \
|
||||||
if (DOIT) \
|
if (DOIT) \
|
||||||
(* __save_FCT)(__save_ARG); \
|
(*__save_FCT)(__save_ARG); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* libc-lock.h */
|
#endif /* libc-lock.h */
|
||||||
|
Loading…
Reference in New Issue
Block a user