diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-01 19:17:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-01 19:17:58 +0200 |
commit | 372fec94c50fae821f4e413abd88f84822a2e185 (patch) | |
tree | 3d027a9609bca8aa2f51601305726498d6e8cb01 /inc/abrtlib.h | |
parent | 9f3bf020d1772886ef1545c8b1f77f9d44c1533a (diff) | |
download | abrt-372fec94c50fae821f4e413abd88f84822a2e185.tar.gz abrt-372fec94c50fae821f4e413abd88f84822a2e185.tar.xz abrt-372fec94c50fae821f4e413abd88f84822a2e185.zip |
move die_out_of_memory() to abrtlib
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc/abrtlib.h')
-rw-r--r-- | inc/abrtlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 4f0244e8..58ec0040 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -63,6 +63,7 @@ extern const char *msg_eol; extern int logmode; extern int xfunc_error_retval; extern void xfunc_die(void) NORETURN; +extern void die_out_of_memory(void) NORETURN; extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); extern void perror_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); @@ -82,7 +83,6 @@ extern void verror_msg(const char *s, va_list p, const char *strerr); #undef log #define log(...) error_msg(__VA_ARGS__) -void* malloc_or_warn(size_t size); void* xmalloc(size_t size); void* xrealloc(void *ptr, size_t size); void* xzalloc(size_t size); |