diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 08:53:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-24 08:53:30 +0000 |
commit | c81459e7d88b97b5f9c3d08a04148e795bce326a (patch) | |
tree | 75e15e9a9b412904a6bcb42c52cadef84b0be10f | |
parent | 0e255b9c271d3e316e74f6f70b05fdac90284576 (diff) | |
download | glibc-c81459e7d88b97b5f9c3d08a04148e795bce326a.zip glibc-c81459e7d88b97b5f9c3d08a04148e795bce326a.tar.gz glibc-c81459e7d88b97b5f9c3d08a04148e795bce326a.tar.bz2 |
Update.
2000-08-24 Ulrich Drepper <drepper@redhat.com>
* resolv/res_hconf.c (free_mem): Remove not needed if.
* time/tzset.c (free_mem): New function.
* string/strsignal.c (free_mem): New function.
* inet/inet_ntoa.c (free_mem): New function.
* sunrpc/clnt_perr.c (free_mem): New function.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | inet/inet_ntoa.c | 10 | ||||
-rw-r--r-- | string/strsignal.c | 10 | ||||
-rw-r--r-- | sunrpc/clnt_perr.c | 8 |
4 files changed, 35 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2000-08-24 Ulrich Drepper <drepper@redhat.com> + + * resolv/res_hconf.c (free_mem): Remove not needed if. + + * time/tzset.c (free_mem): New function. + * string/strsignal.c (free_mem): New function. + * inet/inet_ntoa.c (free_mem): New function. + * sunrpc/clnt_perr.c (free_mem): New function. + 2000-08-24 Andreas Jaeger <aj@suse.de> * sysdeps/unix/syscalls.list: Use __setrlimit as strong name. diff --git a/inet/inet_ntoa.c b/inet/inet_ntoa.c index d9c3153..83c1865 100644 --- a/inet/inet_ntoa.c +++ b/inet/inet_ntoa.c @@ -1,5 +1,5 @@ /* Convert Inet number to ASCII representation. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -96,3 +96,11 @@ free_key_mem (void *mem) free (mem); __libc_setspecific (key, NULL); } + + +static void __attribute__ ((unused)) +free_mem (void) +{ + free (static_buf); +} +text_set_element (__libc_subfreeres, free_mem); diff --git a/string/strsignal.c b/string/strsignal.c index a9d7233..36a4450 100644 --- a/string/strsignal.c +++ b/string/strsignal.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991,94,95,96,97,98,99,2000 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 @@ -130,3 +130,11 @@ getbuffer (void) return result; } + + +static void +free_mem (void) +{ + free (static_buf); +} +text_set_element (__libc_subfreeres, free_mem); diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c index ba95d07..6c33c32 100644 --- a/sunrpc/clnt_perr.c +++ b/sunrpc/clnt_perr.c @@ -383,3 +383,11 @@ auth_errmsg (enum auth_stat stat) } return NULL; } + + +static void __attribute__ ((unused)) +free_mem (void) +{ + free (buf); +} +text_set_element (__libc_subfreeres, free_mem); |