1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add some noreturn attributes based on compiler recommendations

This commit is contained in:
Peter Eisentraut
2014-08-13 22:40:48 -04:00
parent faa14acc9b
commit 1d678bf7bc
5 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(worker_spi_launch);
void _PG_init(void);
void worker_spi_main(Datum);
void worker_spi_main(Datum) __attribute__((noreturn));
/* flags set by signal handlers */
static volatile sig_atomic_t got_sighup = false;