Skip to content

Commit 43bc8ce

Browse files
committed
system/SetupProcess: add noexcept
1 parent 43d4261 commit 43bc8ce

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/system/SetupProcess.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <pthread.h>
99

1010
void
11-
SetupProcess()
11+
SetupProcess() noexcept
1212
{
1313
signal(SIGPIPE, SIG_IGN);
1414

src/system/SetupProcess.hxx

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// Copyright CM4all GmbH
33
// author: Max Kellermann <[email protected]>
44

5-
#ifndef BENG_PROXY_SETUP_PROCESS_HXX
6-
#define BENG_PROXY_SETUP_PROCESS_HXX
5+
#pragma once
76

87
/**
98
* Set up the current process by applying some common settings.
@@ -12,6 +11,4 @@
1211
* - disable pthread cancellation
1312
*/
1413
void
15-
SetupProcess();
16-
17-
#endif
14+
SetupProcess() noexcept;

0 commit comments

Comments
 (0)