Browse Source

Use glib no-return macro

tags/v2.0.0-rc1^0
Stefan Bühler 10 years ago
parent
commit
ed69e05383
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      spawn-fcgi.c

+ 1
- 5
spawn-fcgi.c View File

@@ -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);

Loading…
Cancel
Save