X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=47497b578c36001b5314b6c07d25947a0587b528;hb=ac7019f33f1618f5b69ed44a8623e2596f1e3856;hp=18b2930e18745ae64bf7db70a35bdaf08c943f29;hpb=d88a251b125f6e9178b9ca9ea47ab7da3234cb58;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index 18b2930e1..47497b578 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -39,7 +39,7 @@ #include "macro.h" typedef uint64_t usec_t; -typedef unsigned long nsec_t; +typedef uint64_t nsec_t; typedef struct dual_timestamp { usec_t realtime; @@ -321,7 +321,7 @@ int reset_terminal_fd(int fd, bool switch_to_text); int reset_terminal(const char *name); int open_terminal(const char *name, int mode); -int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocstty_eperm); +int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocstty_eperm, usec_t timeout); int release_terminal(void); int flush_fd(int fd);