1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>

	* iconv/gconv_conf.c (__gconv_read_conf): Don't define as
	internal_function since it is called through a pointer.
	* iconv/gconv_db.c (free_derivation): Likewise.
	* iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.

	* posix/wordexp.c: Add internal_function to parse_backtick definition.
	* rt/aio_misc.c: Add internal_function to __aio_free_request,
	__aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
	definitions.
	* rt/aio_notify.c: Add internal_function to __aio_notify_only and
	__aio_notify definitions.
	* wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
This commit is contained in:
Ulrich Drepper
1998-10-30 18:18:59 +00:00
parent e980ca9229
commit 00995ca9ef
8 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,18 @@
1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_conf.c (__gconv_read_conf): Don't define as
internal_function since it is called through a pointer.
* iconv/gconv_db.c (free_derivation): Likewise.
* iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
* posix/wordexp.c: Add internal_function to parse_backtick definition.
* rt/aio_misc.c: Add internal_function to __aio_free_request,
__aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
definitions.
* rt/aio_notify.c: Add internal_function to __aio_notify_only and
__aio_notify definitions.
* wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1998-10-30 Ulrich Drepper <drepper@cygnus.com> 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
* Makerules (build-shlib): Add -O to generate optimized shared * Makerules (build-shlib): Add -O to generate optimized shared

View File

@ -381,7 +381,6 @@ read_conf_file (const char *filename, const char *directory, size_t dir_len,
/* Read all configuration files found in the user-specified and the default /* Read all configuration files found in the user-specified and the default
path. */ path. */
void void
internal_function
__gconv_read_conf (void) __gconv_read_conf (void)
{ {
const char *user_path = __secure_getenv ("GCONV_PATH"); const char *user_path = __secure_getenv ("GCONV_PATH");

View File

@ -147,7 +147,6 @@ add_derivation (const char *fromset, const char *toset,
} }
static void static void
internal_function
free_derivation (void *p) free_derivation (void *p)
{ {
struct known_derivation *deriv = (struct known_derivation *) p; struct known_derivation *deriv = (struct known_derivation *) p;

View File

@ -112,8 +112,7 @@ extern int __gconv_find_transform (const char *__toset, const char *__fromset,
internal_function; internal_function;
/* Read all the configuration data and cache it. */ /* Read all the configuration data and cache it. */
extern void __gconv_read_conf (void) extern void __gconv_read_conf (void);
internal_function;
/* Comparison function to search alias. */ /* Comparison function to search alias. */
extern int __gconv_alias_compare (const void *__p1, const void *__p2); extern int __gconv_alias_compare (const void *__p1, const void *__p2);

View File

@ -1867,6 +1867,7 @@ parse_dollars (char **word, size_t *word_length, size_t *max_length,
} }
static int static int
internal_function
parse_backtick (char **word, size_t *word_length, size_t *max_length, parse_backtick (char **word, size_t *word_length, size_t *max_length,
const char *words, size_t *offset, int flags, const char *words, size_t *offset, int flags,
wordexp_t *pwordexp, const char *ifs, const char *ifs_white) wordexp_t *pwordexp, const char *ifs, const char *ifs_white)

View File

@ -144,6 +144,7 @@ get_elem (void)
void void
internal_function
__aio_free_request (struct requestlist *elem) __aio_free_request (struct requestlist *elem)
{ {
elem->running = no; elem->running = no;
@ -153,6 +154,7 @@ __aio_free_request (struct requestlist *elem)
struct requestlist * struct requestlist *
internal_function
__aio_find_req (aiocb_union *elem) __aio_find_req (aiocb_union *elem)
{ {
struct requestlist *runp = requests; struct requestlist *runp = requests;
@ -175,6 +177,7 @@ __aio_find_req (aiocb_union *elem)
struct requestlist * struct requestlist *
internal_function
__aio_find_req_fd (int fildes) __aio_find_req_fd (int fildes)
{ {
struct requestlist *runp = requests; struct requestlist *runp = requests;
@ -216,6 +219,7 @@ weak_alias (__aio_init, aio_init)
/* The main function of the async I/O handling. It enqueues requests /* The main function of the async I/O handling. It enqueues requests
and if necessary starts and handles threads. */ and if necessary starts and handles threads. */
struct requestlist * struct requestlist *
internal_function
__aio_enqueue_request (aiocb_union *aiocbp, int operation) __aio_enqueue_request (aiocb_union *aiocbp, int operation)
{ {
int result = 0; int result = 0;

View File

@ -24,6 +24,7 @@
#include "aio_misc.h" #include "aio_misc.h"
int int
internal_function
__aio_notify_only (struct sigevent *sigev) __aio_notify_only (struct sigevent *sigev)
{ {
int result = 0; int result = 0;
@ -58,6 +59,7 @@ __aio_notify_only (struct sigevent *sigev)
void void
internal_function
__aio_notify (struct requestlist *req) __aio_notify (struct requestlist *req)
{ {
struct waitlist *waitlist; struct waitlist *waitlist;

View File

@ -137,6 +137,7 @@ getfct (const char *to, const char *from)
/* Load conversion functions for the currently selected locale. */ /* Load conversion functions for the currently selected locale. */
void void
internal_function
__wcsmbs_load_conv (const struct locale_data *new_category) __wcsmbs_load_conv (const struct locale_data *new_category)
{ {
/* We must modify global data. */ /* We must modify global data. */