diff options
author | Miles Bader <miles@gnu.org> | 1996-08-01 00:40:19 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-08-01 00:40:19 +0000 |
commit | ec5b927a0d378fec8066f9c349403c2b2020a337 (patch) | |
tree | 0b894f1319ab7ab93cdac8563d3d8a3900932011 /utils/su.c | |
parent | 37c058c67a2e503606e3c3ebda5050ca2d0c045c (diff) |
(check_password): Use #pragma weak instead of __attribute__ ((weak)).
Diffstat (limited to 'utils/su.c')
-rw-r--r-- | utils/su.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -454,8 +454,8 @@ apply_auth_to_pgrp (struct auth *auth, pid_t pgrp) int check_password (const char *name, const char *password) { - extern char *crypt (const char *string, const char salt[2]) - __attribute__ ((weak)); + extern char *crypt (const char *string, const char salt[2]); +#pragma weak crypt char *unencrypted, *encrypted; static char *prompt = NULL; |