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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user