mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
2000-12-26 Andreas Jaeger <aj@suse.de> * libio/getc_u.c: Include stdio.h via system path to get internal prototypes. * libio/getwc_u.c: Likewise. * stdlib/strfmon.c: Fix prototype of __printf_fp. * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and __printf_fp prototypes to ... * include/printf.h: ...here. * include/stdio.h: Add some internal prototypes to shut up GCC. * include/stdlib.h: Likewise. * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype declaration. * include/signal.h: Add prototypes for internal sigpause interfaces.
This commit is contained in:
parent
8001fa6014
commit
03bac9acad
21
ChangeLog
21
ChangeLog
@ -1,3 +1,24 @@
|
|||||||
|
2000-12-26 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* libio/getc_u.c: Include stdio.h via system path to get internal
|
||||||
|
prototypes.
|
||||||
|
* libio/getwc_u.c: Likewise.
|
||||||
|
|
||||||
|
* stdlib/strfmon.c: Fix prototype of __printf_fp.
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
|
||||||
|
__printf_fp prototypes to ...
|
||||||
|
* include/printf.h: ...here.
|
||||||
|
|
||||||
|
* include/stdio.h: Add some internal prototypes to shut up GCC.
|
||||||
|
* include/stdlib.h: Likewise.
|
||||||
|
|
||||||
|
* sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
|
||||||
|
declaration.
|
||||||
|
|
||||||
|
* include/signal.h: Add prototypes for internal sigpause
|
||||||
|
interfaces.
|
||||||
|
|
||||||
2000-12-26 Ulrich Drepper <drepper@redhat.com>
|
2000-12-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
|
* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
|
||||||
|
@ -1 +1,11 @@
|
|||||||
|
#ifndef _PRINTF_H
|
||||||
|
|
||||||
#include <stdio-common/printf.h>
|
#include <stdio-common/printf.h>
|
||||||
|
|
||||||
|
/* Now define the internal interfaces. */
|
||||||
|
extern int __printf_fphex (FILE *, const struct printf_info *,
|
||||||
|
const void *const *);
|
||||||
|
extern int __printf_fp (FILE *, const struct printf_info *,
|
||||||
|
const void *const *);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -60,6 +60,10 @@ extern void __funlockfile (FILE *__stream);
|
|||||||
possible. */
|
possible. */
|
||||||
extern int __ftrylockfile (FILE *__stream);
|
extern int __ftrylockfile (FILE *__stream);
|
||||||
|
|
||||||
|
extern int __getc_unlocked (FILE *__fp);
|
||||||
|
extern wint_t __getwc_unlocked (FILE *__fp);
|
||||||
|
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -55,9 +55,13 @@ extern void _quicksort (void *const pbase, size_t total_elems,
|
|||||||
|
|
||||||
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
|
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
|
||||||
|
|
||||||
|
extern void __cxa_finalize (void *d);
|
||||||
|
|
||||||
extern int __posix_memalign (void **memptr, size_t alignment, size_t size)
|
extern int __posix_memalign (void **memptr, size_t alignment, size_t size)
|
||||||
__attribute_malloc__;
|
__attribute_malloc__;
|
||||||
|
|
||||||
|
extern int __libc_system (const char *line);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#undef __Need_M_And_C
|
#undef __Need_M_And_C
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1995,1996,1997,1999,2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU IO Library.
|
This file is part of the GNU IO Library.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
@ -24,7 +24,7 @@
|
|||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
|
|
||||||
#undef getc_unlocked
|
#undef getc_unlocked
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1995,1996,1997,1999,2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU IO Library.
|
This file is part of the GNU IO Library.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
@ -24,7 +24,7 @@
|
|||||||
General Public License. */
|
General Public License. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
|
|
||||||
#undef getwc_unlocked
|
#undef getwc_unlocked
|
||||||
|
|
||||||
|
@ -798,8 +798,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
LABEL (form_float): \
|
LABEL (form_float): \
|
||||||
{ \
|
{ \
|
||||||
/* Floating-point number. This is handled by printf_fp.c. */ \
|
/* Floating-point number. This is handled by printf_fp.c. */ \
|
||||||
extern int __printf_fp __P ((FILE *, const struct printf_info *, \
|
|
||||||
const void **const)); \
|
|
||||||
const void *ptr; \
|
const void *ptr; \
|
||||||
int function_done; \
|
int function_done; \
|
||||||
\
|
\
|
||||||
@ -848,9 +846,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
\
|
\
|
||||||
LABEL (form_floathex): \
|
LABEL (form_floathex): \
|
||||||
{ \
|
{ \
|
||||||
/* FLoating point number printed as hexadecimal number. */ \
|
/* Floating point number printed as hexadecimal number. */ \
|
||||||
extern int __printf_fphex __P ((FILE *, const struct printf_info *, \
|
|
||||||
const void **const)); \
|
|
||||||
const void *ptr; \
|
const void *ptr; \
|
||||||
int function_done; \
|
int function_done; \
|
||||||
\
|
\
|
||||||
@ -919,7 +915,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
/* Write "(nil)" for a nil pointer. */ \
|
/* Write "(nil)" for a nil pointer. */ \
|
||||||
string = (CHAR_T *) L_("(nil)"); \
|
string = (CHAR_T *) L_("(nil)"); \
|
||||||
/* Make sure the full string "(nil)" is printed. */ \
|
/* Make sure the full string "(nil)" is printed. */ \
|
||||||
if (prec < 5) \
|
if (prec < 5) \
|
||||||
prec = 5; \
|
prec = 5; \
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int __printf_fp (FILE *, const struct printf_info *,
|
extern int __printf_fp (FILE *, const struct printf_info *,
|
||||||
const void **const);
|
const void *const *);
|
||||||
/* This function determines the number of digit groups in the output.
|
/* This function determines the number of digit groups in the output.
|
||||||
The definition is in printf_fp.c. */
|
The definition is in printf_fp.c. */
|
||||||
extern unsigned int __guess_grouping (unsigned int intdig_max,
|
extern unsigned int __guess_grouping (unsigned int intdig_max,
|
||||||
|
@ -23,9 +23,7 @@
|
|||||||
/* Set the mask of blocked signals to MASK,
|
/* Set the mask of blocked signals to MASK,
|
||||||
wait for a signal to arrive, and then restore the mask. */
|
wait for a signal to arrive, and then restore the mask. */
|
||||||
int
|
int
|
||||||
__sigpause (sig_or_mask, is_sig)
|
__sigpause (int sig_or_mask, int is_sig)
|
||||||
int sig_or_mask;
|
|
||||||
int is_sig;
|
|
||||||
{
|
{
|
||||||
sigset_t set;
|
sigset_t set;
|
||||||
int sig;
|
int sig;
|
||||||
|
Loading…
Reference in New Issue
Block a user