Undid most of 3ef341abe440ece07f8deed59fb026ab020e805 because FreeBSD needs the HAVE_...
[mmh] / sbr / m_setjmp.c
1
2 /*
3  * m_setjmp.h -- Wraps setjmp() and sigsetjmp(), to help prevent warnings
4  *            -- about arguments and variables that might be clobbered by
5  *            -- a setjmp call with gcc -Wclobbered.
6  *
7  * This code is Copyright (c) 2012, by the authors of nmh.  See the
8  * COPYRIGHT file in the root directory of the nmh distribution for
9  * complete copyright information.
10  */
11
12 #include <h/m_setjmp.h>
13
14
15 int
16 m_setjmp(jmp_buf env) {
17   return setjmp(env);
18 }
19
20
21 int
22 m_sigsetjmp(sigjmp_buf env, int savesigs) {
23   return sigsetjmp(env, savesigs);
24 }
25