diff options
| author | Peter Eisentraut | 2014-08-14 02:40:48 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2014-08-14 02:40:48 +0000 |
| commit | 1d678bf7bc66d4478bdee51278946dcc9ae8cae5 (patch) | |
| tree | 35bb76a590f2c3b96bf2e0eb0a4f2273641afb65 /src/include/postmaster | |
| parent | faa14acc9b958d7b811d0aa624774f36e3fab750 (diff) | |
Add some noreturn attributes based on compiler recommendations
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/bgworker_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/postmaster/bgworker_internals.h b/src/include/postmaster/bgworker_internals.h index c2518a6c8d7..6a69a5b5229 100644 --- a/src/include/postmaster/bgworker_internals.h +++ b/src/include/postmaster/bgworker_internals.h @@ -46,7 +46,7 @@ extern void BackgroundWorkerStopNotifications(pid_t pid); extern void ResetBackgroundWorkerCrashTimes(void); /* Function to start a background worker, called from postmaster.c */ -extern void StartBackgroundWorker(void); +extern void StartBackgroundWorker(void) __attribute__((noreturn)); #ifdef EXEC_BACKEND extern BackgroundWorker *BackgroundWorkerEntry(int slotno); |
