1*86d7f5d3SJohn Marino /* $OpenBSD: cleanup.c,v 1.5 2006/08/03 03:34:42 deraadt Exp $ */
2*86d7f5d3SJohn Marino /*
3*86d7f5d3SJohn Marino * Copyright (c) 2003 Markus Friedl <markus@openbsd.org>
4*86d7f5d3SJohn Marino *
5*86d7f5d3SJohn Marino * Permission to use, copy, modify, and distribute this software for any
6*86d7f5d3SJohn Marino * purpose with or without fee is hereby granted, provided that the above
7*86d7f5d3SJohn Marino * copyright notice and this permission notice appear in all copies.
8*86d7f5d3SJohn Marino *
9*86d7f5d3SJohn Marino * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*86d7f5d3SJohn Marino * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*86d7f5d3SJohn Marino * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*86d7f5d3SJohn Marino * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*86d7f5d3SJohn Marino * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*86d7f5d3SJohn Marino * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*86d7f5d3SJohn Marino * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*86d7f5d3SJohn Marino */
17*86d7f5d3SJohn Marino
18*86d7f5d3SJohn Marino #include "includes.h"
19*86d7f5d3SJohn Marino
20*86d7f5d3SJohn Marino #include <sys/types.h>
21*86d7f5d3SJohn Marino
22*86d7f5d3SJohn Marino #include <unistd.h>
23*86d7f5d3SJohn Marino #include <stdarg.h>
24*86d7f5d3SJohn Marino
25*86d7f5d3SJohn Marino #include "log.h"
26*86d7f5d3SJohn Marino
27*86d7f5d3SJohn Marino /* default implementation */
28*86d7f5d3SJohn Marino void
cleanup_exit(int i)29*86d7f5d3SJohn Marino cleanup_exit(int i)
30*86d7f5d3SJohn Marino {
31*86d7f5d3SJohn Marino _exit(i);
32*86d7f5d3SJohn Marino }
33