Use glib no-return macro

This commit is contained in:
Stefan Bühler 2009-03-24 18:24:11 +01:00
parent c646323f97
commit ed69e05383

View File

@ -24,10 +24,6 @@
#define FCGI_LISTENSOCK_FILENO 0 #define FCGI_LISTENSOCK_FILENO 0
#ifndef __GNUC__
# define __attribute__(x) /*NOTHING*/
#endif
#ifdef USE_LIMITS #ifdef USE_LIMITS
int pam_set_limits(const char *conf_file, const char *username); int pam_set_limits(const char *conf_file, const char *username);
#endif #endif
@ -421,7 +417,7 @@ waitforchild:
} }
} }
void start() __attribute__((noreturn)); void start() G_GNUC_NORETURN;
void start() { void start() {
int save_err_fileno = -1; int save_err_fileno = -1;
move2fd(data.socket, FCGI_LISTENSOCK_FILENO); move2fd(data.socket, FCGI_LISTENSOCK_FILENO);