2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

get_boottime() now fills in a timeval struct

This commit is contained in:
Todd C. Miller
2010-04-22 10:33:16 -04:00
parent 7d6941a820
commit 6a27866c30
3 changed files with 41 additions and 36 deletions

View File

@@ -291,13 +291,15 @@ int term_noecho(int);
int term_raw(int, int, int);
int term_restore(int, int);
char *get_timestr(time_t, int);
time_t get_boottime(void);
int user_in_group(struct passwd *, const char *);
YY_DECL;
/* atobool.c */
int atobool(const char *str);
/* boottime.c */
int get_boottime(struct timeval *);
/* iolog.c */
int sudoers_io_open(unsigned int version, sudo_conv_t conversation,
char * const settings[], char * const user_info[], char * const user_env[]);