www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Craft <ccr...@cncc.cc.co.us>
Subject Re: config/977: Won't compile - http_main.c:158: syntax error before `jmpbuffer' \n http_main.c:158: warning: data definition has no type or storage class
Date Thu, 07 Aug 1997 19:32:38 GMT
  The setjmp manpage gives the following on includes and function prototypes:
#include <setjmp.h>

int sigsetjmp(sigjmp_buf env, int savemask)
void siglongjump(sigjmp_buf env, int val)
int setjmp(jmp_buf env)
void longjmp(jmp_buf env, int val)
int _setjmp(jmp_buf env)
void _longjmp(jmp_buf env, int val)
void longjmperror(void)

setjmp.h includes <machine/setjmp.h> and defines

#ifndef _ANSI_SOURCE
typedef long sigjmp_buf[_JBLEN+1];
#endif /* not ANSI */
typedef long jmp_buf[_JBLEN]

then includes <sys/cdefs.h> and goes on with the declarations.

-Chris.

Mime
View raw message