19 |
#ifndef __CRYPT_H__ |
#ifndef __CRYPT_H__ |
20 |
#define __CRYPT_H__ |
#define __CRYPT_H__ |
21 |
|
|
22 |
#ifdef HAVE_DECL_CRYPT |
#if HAVE_DECL_CRYPT |
23 |
/* Avoid arg-mismatch with system decl by being vague. */ |
/* Avoid arg-mismatch with system decl by being vague. */ |
24 |
#define CRYPT_ARGS () |
#define CRYPT_ARGS () |
25 |
#else |
#else |
26 |
#define CRYPT_ARGS __P ((char *str, char salt[2])) |
#define CRYPT_ARGS __P ((char *str, char salt[2])) |
27 |
#endif |
#endif |
28 |
|
|
29 |
#ifndef HAVE_DECL_CRYPT |
#if !HAVE_DECL_CRYPT |
30 |
#ifdef HAVE_ATTR_WEAK_REFS |
#ifdef HAVE_ATTR_WEAK_REFS |
31 |
extern char *crypt CRYPT_ARGS __attribute__ ((weak)); |
extern char *crypt CRYPT_ARGS __attribute__ ((weak)); |
32 |
#else /* !HAVE_ATTR_WEAK_REFS */ |
#else /* !HAVE_ATTR_WEAK_REFS */ |