Declare crypt, encrypt, and setkey per Posix

This commit is contained in:
Ken Brown 2016-06-08 17:04:06 -04:00 committed by Corinna Vinschen
parent b1f63ce874
commit a6a7398232
2 changed files with 9 additions and 0 deletions

View File

@ -144,6 +144,9 @@ char * _EXFUN(realpath, (const char *__restrict path, char *__restrict resolved_
#if __BSD_VISIBLE
int _EXFUN(rpmatch, (const char *response));
#endif
#if __XSI_VISIBLE
_VOID _EXFUN(setkey, (const char *__key));
#endif
_VOID _EXFUN(srand,(unsigned __seed));
double _EXFUN(strtod,(const char *__restrict __n, char **__restrict __end_PTR));
double _EXFUN(_strtod_r,(struct _reent *,const char *__restrict __n, char **__restrict __end_PTR));

View File

@ -31,6 +31,9 @@ int _EXFUN(close, (int __fildes ));
#if __POSIX_VISIBLE >= 199209
size_t _EXFUN(confstr, (int __name, char *__buf, size_t __len));
#endif
#if __XSI_VISIBLE
char * _EXFUN(crypt, (const char *__key, const char *__salt));
#endif
#if __XSI_VISIBLE && __XSI_VISIBLE < 700
char * _EXFUN(ctermid, (char *__s ));
#endif
@ -46,6 +49,9 @@ int _EXFUN(dup2, (int __fildes, int __fildes2 ));
int _EXFUN(dup3, (int __fildes, int __fildes2, int flags));
int _EXFUN(eaccess, (const char *__path, int __mode));
#endif
#if __XSI_VISIBLE
void _EXFUN(encrypt, (char *__block, int __edflag));
#endif
#if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500)
void _EXFUN(endusershell, (void));
#endif