aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unix/Watchdog.inc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Unix/Watchdog.inc')
-rw-r--r--llvm/lib/Support/Unix/Watchdog.inc16
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