2002-03-11  Ulrich Drepper  <drepper@redhat.com>

	* gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
	They were never exported anyway.

	* gmon/gmon.c (_gmonparam): Add attribute_hidden.
	* gmon/sys/gmon.h: Remove declaration of _gmonparam.  It wasn't
	exported.
	* include/sys/gmon.h: Declare _gmonparam.

	* sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility
	symbols for getdents64.  They were never exported.
This commit is contained in:
Ulrich Drepper 2002-03-11 10:28:31 +00:00
parent 0e0435989d
commit 0e47dbd052
5 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,16 @@
2002-03-11 Ulrich Drepper <drepper@redhat.com>
* gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
They were never exported anyway.
* gmon/gmon.c (_gmonparam): Add attribute_hidden.
* gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't
exported.
* include/sys/gmon.h: Declare _gmonparam.
* sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility
symbols for getdents64. They were never exported.
2002-03-09 Roland McGrath <roland@frob.com>
* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.

View File

@ -49,7 +49,7 @@
struct __bb *__bb_head; /* Head of basic-block list or NULL. */
struct gmonparam _gmonparam = { GMON_PROF_OFF };
struct gmonparam _gmonparam attribute_hidden = { GMON_PROF_OFF };
/*
* See profil(2) where this is described:

View File

@ -143,7 +143,6 @@ struct gmonparam {
u_long hashfraction;
long log_hashfraction;
};
extern struct gmonparam _gmonparam;
/*
* Possible states of profiling.

View File

@ -11,5 +11,5 @@ struct __bb;
extern void __bb_init_func (struct __bb *bb);
extern void __bb_exit_func (void);
extern struct gmonparam _gmonparam;
#endif

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2002 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
@ -27,8 +27,6 @@
#undef __GETDENTS
#undef DIRENT_TYPE
versioned_symbol (libc, __getdents64, getdents64, GLIBC_2_2);
#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
#include <sysdeps/unix/sysv/linux/i386/olddirent.h>
@ -39,6 +37,4 @@ versioned_symbol (libc, __getdents64, getdents64, GLIBC_2_2);
#define kernel_dirent64 old_kernel_dirent64
#include <sysdeps/unix/sysv/linux/getdents.c>
compat_symbol (libc, __old_getdents64, getdents64, GLIBC_2_1);
#endif