Last change
on this file since 3834 was 3621, checked in by Bruno Cornec, 8 years ago |
New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.
|
-
Property svn:eol-style
set to
native
|
File size:
457 bytes
|
Rev | Line | |
---|
[2725] | 1 | /* vi: set sw=4 ts=4: */
|
---|
| 2 | /*
|
---|
| 3 | * Utility routines.
|
---|
| 4 | *
|
---|
| 5 | * Copyright (C) 2008 by Denys Vlasenko <vda.linux@googlemail.com>
|
---|
| 6 | *
|
---|
| 7 | * Licensed under GPLv2, see file LICENSE in this source tree.
|
---|
| 8 | */
|
---|
| 9 |
|
---|
[3621] | 10 | /* Keeping it separate allows to NOT pull in stdio for VERY small applets.
|
---|
[2725] | 11 | * Try building busybox with only "true" enabled... */
|
---|
| 12 |
|
---|
| 13 | #include "libbb.h"
|
---|
| 14 |
|
---|
[3621] | 15 | void (*die_func)(void);
|
---|
[2725] | 16 |
|
---|
| 17 | void FAST_FUNC xfunc_die(void)
|
---|
| 18 | {
|
---|
[3621] | 19 | if (die_func)
|
---|
| 20 | die_func();
|
---|
[2725] | 21 | exit(xfunc_error_retval);
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.