Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/runit/runit_lib.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 25  OTHERWISE) ARISING IN ANY WAY OUT OF THE Line 25  OTHERWISE) ARISING IN ANY WAY OUT OF THE
25  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */  */
27    
28  #if __GNUC_PREREQ(4,1)  PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 # pragma GCC visibility push(hidden)  
 #endif  
   
 extern unsigned byte_chr(char *s,unsigned n,int c);  
   
 #define direntry struct dirent  
29    
30    //extern unsigned byte_chr(char *s,unsigned n,int c);
31    //
32  //struct tai {  //struct tai {
33  // uint64_t x;  // uint64_t x;
34  //};  //};
# Line 92  typedef struct svstatus_t { Line 88  typedef struct svstatus_t {
88   uint32_t time_nsec_be32 PACKED;   uint32_t time_nsec_be32 PACKED;
89   uint32_t pid_le32 PACKED;   uint32_t pid_le32 PACKED;
90   uint8_t  paused;   uint8_t  paused;
91   uint8_t  want;   uint8_t  want; /* 'u' or 'd' */
92   uint8_t  got_term;   uint8_t  got_term;
93   uint8_t  run_or_finish;   uint8_t  run_or_finish;
94  } svstatus_t;  } svstatus_t;
# Line 100  struct ERR_svstatus_must_be_20_bytes { Line 96  struct ERR_svstatus_must_be_20_bytes {
96   char ERR_svstatus_must_be_20_bytes[sizeof(svstatus_t) == 20 ? 1 : -1];   char ERR_svstatus_must_be_20_bytes[sizeof(svstatus_t) == 20 ? 1 : -1];
97  };  };
98    
99  #if __GNUC_PREREQ(4,1)  POP_SAVED_FUNCTION_VISIBILITY
 # pragma GCC visibility pop  
 #endif  

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