Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: py3.3 Changeset: r73079:222c001e9305 Date: 2014-08-27 10:04 +0200 http://bitbucket.org/pypy/pypy/changeset/222c001e9305/
Log: Oops, add missing faulthandler.h diff --git a/pypy/module/faulthandler/faulthandler.c b/pypy/module/faulthandler/faulthandler.c --- a/pypy/module/faulthandler/faulthandler.c +++ b/pypy/module/faulthandler/faulthandler.c @@ -1,5 +1,5 @@ -#include <signal.h> #include <stdlib.h> +#include "faulthandler.h" int pypy_faulthandler_read_null(void) diff --git a/pypy/module/faulthandler/faulthandler.h b/pypy/module/faulthandler/faulthandler.h new file mode 100644 --- /dev/null +++ b/pypy/module/faulthandler/faulthandler.h @@ -0,0 +1,18 @@ +#ifndef PYPY_FAULTHANDLER_H +#define PYPY_FAULTHANDLER_H + +#include <signal.h> + +int pypy_faulthandler_read_null(void); +void pypy_faulthandler_sigsegv(void); +int pypy_faulthandler_sigfpe(void); +void pypy_faulthandler_sigabrt(); +#ifdef SIGBUS +void pypy_faulthandler_sigbus(void); +#endif + +#ifdef SIGILL +void pypy_faulthandler_sigill(void); +#endif + +#endif /* PYPY_FAULTHANDLER_H */ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit