diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:04 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:11 +0000 |
commit | e3b557809604d036af6e00c60f012c2025b59a5e (patch) | |
tree | 8a11ba2269a3b669601e2fd41145b174008f4da8 /llvm/lib/Support/Unix/Watchdog.inc | |
parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) |
Diffstat (limited to 'llvm/lib/Support/Unix/Watchdog.inc')
-rw-r--r-- | llvm/lib/Support/Unix/Watchdog.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Support/Unix/Watchdog.inc b/llvm/lib/Support/Unix/Watchdog.inc index b363ef779560..b33e52d88500 100644 --- a/llvm/lib/Support/Unix/Watchdog.inc +++ b/llvm/lib/Support/Unix/Watchdog.inc @@ -17,17 +17,17 @@ #endif namespace llvm { - namespace sys { - Watchdog::Watchdog(unsigned int seconds) { +namespace sys { +Watchdog::Watchdog(unsigned int seconds) { #ifdef HAVE_UNISTD_H - alarm(seconds); + alarm(seconds); #endif - } +} - Watchdog::~Watchdog() { +Watchdog::~Watchdog() { #ifdef HAVE_UNISTD_H - alarm(0); + alarm(0); #endif - } - } } +} // namespace sys +} // namespace llvm |