1 /* Copyright (c) 2015 Regents of the University of California
3 * Author: Brian Demsky <bdemsky@uci.edu>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
12 * @brief ucontext header, since Mac OSX swapcontext() is broken
22 int model_swapcontext(ucontext_t *oucp, ucontext_t *ucp);
26 static inline int model_swapcontext(ucontext_t *oucp, ucontext_t *ucp)
28 return swapcontext(oucp, ucp);
33 #endif/* __CONTEXT_H__ */