Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/include/shadow_.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 22  Line 22 
22  #ifndef BB_SHADOW_H  #ifndef BB_SHADOW_H
23  #define BB_SHADOW_H 1  #define BB_SHADOW_H 1
24    
25  #if __GNUC_PREREQ(4,1)  PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 # pragma GCC visibility push(hidden)  
 #endif  
26    
27  /* This file is #included after #include <shadow.h>  /* Structure of the password file */
28   * We will use libc-defined structures, but will #define function names  struct spwd {
29   * so that function calls are directed to bb_internal_XXX replacements   char *sp_namp;          /* Login name */
30   */   char *sp_pwdp;          /* Encrypted password */
31     long sp_lstchg;         /* Date of last change */
32     long sp_min;            /* Minimum number of days between changes */
33     long sp_max;            /* Maximum number of days between changes */
34     long sp_warn;           /* Number of days to warn user to change the password */
35     long sp_inact;          /* Number of days the account may be inactive */
36     long sp_expire;         /* Number of days since 1970-01-01 until account expires */
37     unsigned long sp_flag;  /* Reserved */
38    };
39    
40  /* Paths to the user database files */  /* Paths to the user database files */
41  #ifndef _PATH_SHADOW  #ifndef _PATH_SHADOW
# Line 97  extern int lckpwdf(void); Line 103  extern int lckpwdf(void);
103  /* Unlock password file */  /* Unlock password file */
104  extern int ulckpwdf(void);  extern int ulckpwdf(void);
105    
106  #if __GNUC_PREREQ(4,1)  POP_SAVED_FUNCTION_VISIBILITY
 # pragma GCC visibility pop  
 #endif  
107    
108  #endif /* shadow.h */  #endif /* shadow.h */

Legend:
Removed from v.983  
changed lines
  Added in v.984