aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-03-24 18:24:11 +0100
committerStefan Bühler <stbuehler@web.de>2009-03-24 18:24:11 +0100
commited69e05383131309887f6f6ca80516ffcc223e0f (patch)
tree8828fa87e489386d5dce52f9b6befbd4c100772f
parentc646323f9762116faf29564209f4a681e31c1539 (diff)
downloadspawn-fcgi2-ed69e05383131309887f6f6ca80516ffcc223e0f.tar.gz
spawn-fcgi2-ed69e05383131309887f6f6ca80516ffcc223e0f.zip
Use glib no-return macrov2.0.0-rc1
-rw-r--r--spawn-fcgi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/spawn-fcgi.c b/spawn-fcgi.c
index 17a4513..7d66d2c 100644
--- a/spawn-fcgi.c
+++ b/spawn-fcgi.c
@@ -24,10 +24,6 @@
#define FCGI_LISTENSOCK_FILENO 0
-#ifndef __GNUC__
-# define __attribute__(x) /*NOTHING*/
-#endif
-
#ifdef USE_LIMITS
int pam_set_limits(const char *conf_file, const char *username);
#endif
@@ -421,7 +417,7 @@ waitforchild:
}
}
-void start() __attribute__((noreturn));
+void start() G_GNUC_NORETURN;
void start() {
int save_err_fileno = -1;
move2fd(data.socket, FCGI_LISTENSOCK_FILENO);