* include/setjmp.h: Likewise.
This commit is contained in:
Andreas Jaeger 2000-12-27 20:25:30 +00:00
parent ce351e07c9
commit 784d802ea2
8 changed files with 54 additions and 0 deletions

View File

@ -69,6 +69,7 @@
* include/pwd.h: Likewise.
* include/shadow.h: Likewise.
* include/rpc/netdb.h: Likewise.
* include/setjmp.h: Likewise.
* include/stdio.h: Add prototypes for compatibility functions.
* include/grp.h: Likewise.

View File

@ -1 +1,8 @@
#ifndef _GETOPT_H
#include <posix/getopt.h>
/* Now define the internal interfaces. */
extern void __getopt_clean_environment (char **__env);
#endif

View File

@ -151,6 +151,22 @@ extern int ruserpass (const char *host, const char **aname,
#include <inet/netgroup.h>
struct parser_data;
extern int _nss_files_parse_protoent (char *line, struct protoent *result,
struct parser_data *data,
size_t datalen, int *errnop);
extern int _nss_files_parse_servent (char *line, struct servent *result,
struct parser_data *data,
size_t datalen, int *errnop);
extern int _nss_files_parse_netent (char *line, struct netent *result,
struct parser_data *data,
size_t datalen, int *errnop);
extern enum nss_status _nss_netgroup_parseline (char **cursor,
struct __netgrent *result,
char *buffer, size_t buflen,
int *errnop);
#define DECLARE_NSS_PROTOTYPES(service) \
extern enum nss_status _nss_ ## service ## _setprotoent (int); \
extern enum nss_status _nss_ ## service ## _endprotoent (void); \

View File

@ -9,4 +9,22 @@
while (0)
#include <resolv/resolv.h>
/* Now define the internal interfaces. */
extern int __res_vinit (res_state, int);
extern void _sethtent (int);
extern void _endhtent (void);
extern struct hostent *_gethtent (void);
extern struct hostent *_gethtbyname (const char *__name);
extern struct hostent *_gethtbyname2 (const char *__name, int __af);
struct hostent *_gethtbyaddr (const char *addr, size_t __len, int __af);
extern u_int32_t _getlong (const u_char *__src);
extern u_int16_t _getshort (const u_char *__src);
extern void res_pquery (const res_state __statp, const u_char *__msg,
int __len, FILE *__file);
extern void res_send_setqhook (res_send_qhook __hook);
extern void res_send_setrhook (res_send_rhook __hook);
extern int res_ourserver_p (const res_state __statp,
const struct sockaddr_in6 *__inp);
#endif

View File

@ -21,6 +21,11 @@ extern int __getrpcent_r (struct rpcent *__result_buf, char *__buffer,
extern int __old_getrpcent_r (struct rpcent *__result_buf, char *__buffer,
size_t __buflen, struct rpcent **__result);
struct parser_data;
extern int _nss_files_parse_rpcent (char *line, struct rpcent *result,
struct parser_data *data,
size_t datalen, int *errnop);
#define DECLARE_NSS_PROTOTYPES(service) \
extern enum nss_status _nss_ ## service ## _setrpcent (int); \
extern enum nss_status _nss_ ## service ## _endrpcent (void); \

View File

@ -15,4 +15,7 @@ extern int __sigjmp_save (jmp_buf __env, int __savemask);
extern void _longjmp_unwind (jmp_buf env, int val);
extern void __libc_siglongjmp (sigjmp_buf __env, int __val)
__attribute__ ((noreturn));
#endif

View File

@ -3,4 +3,7 @@
/* Now define the internal interfaces. */
extern int __tcgetattr (int __fd, struct termios *__termios_p);
extern int __libc_tcdrain (int __fd);
#endif

View File

@ -2,6 +2,7 @@
* Examples/ex13.c: Make local functions static.
* ecmutex.c: Likewise.
* joinrace.c: Likewise.
* Examples/ex14.c: Likewise.
* Examples/ex2.c: Make local functions static; reformat.