mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
94fd682c9b
Mark internal gshadow functions with attribute_hidden to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/gshadow.h (__fgetsgent_r): Add attribute_hidden. (__sgetsgent_r): Likewise.
21 lines
642 B
C
21 lines
642 B
C
#ifndef _GSHADOW_H
|
|
#include <gshadow/gshadow.h>
|
|
|
|
# ifndef _ISOMAC
|
|
|
|
extern int __fgetsgent_r (FILE *stream, struct sgrp *resbuf, char *buffer,
|
|
size_t buflen, struct sgrp **result)
|
|
attribute_hidden;
|
|
extern int __sgetsgent_r (const char *string, struct sgrp *resbuf,
|
|
char *buffer, size_t buflen, struct sgrp **result)
|
|
attribute_hidden;
|
|
|
|
struct parser_data;
|
|
extern int _nss_files_parse_sgent (char *line, struct sgrp *result,
|
|
struct parser_data *data,
|
|
size_t datalen, int *errnop);
|
|
libc_hidden_proto (_nss_files_parse_sgent)
|
|
|
|
# endif /* !_ISOMAC */
|
|
#endif
|