ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-extern unsigned byte_chr(char *s,unsigned n,int c);
-
-extern int coe(int);
-
-#define direntry struct dirent
+PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
+//extern unsigned byte_chr(char *s,unsigned n,int c);
+//
//struct tai {
// uint64_t x;
//};
* runsv / supervise / sv stuff
*/
typedef struct svstatus_t {
- uint64_t time_be64;
- uint32_t time_nsec_be32;
- uint32_t pid_le32;
+ uint64_t time_be64 PACKED;
+ uint32_t time_nsec_be32 PACKED;
+ uint32_t pid_le32 PACKED;
uint8_t paused;
- uint8_t want;
+ uint8_t want; /* 'u' or 'd' */
uint8_t got_term;
uint8_t run_or_finish;
} svstatus_t;
struct ERR_svstatus_must_be_20_bytes {
char ERR_svstatus_must_be_20_bytes[sizeof(svstatus_t) == 20 ? 1 : -1];
};
+
+POP_SAVED_FUNCTION_VISIBILITY