|
Line
Link Here
|
|
-- e2fsprogs-1.36/lib/et/com_err.h |
|
|
|
Lines 41-47
Link Here
|
| 41 |
(const char *, long, const char *, va_list); |
41 |
(const char *, long, const char *, va_list); |
| 42 |
extern void (*reset_com_err_hook (void)) (const char *, long, |
42 |
extern void (*reset_com_err_hook (void)) (const char *, long, |
| 43 |
const char *, va_list); |
43 |
const char *, va_list); |
|
|
44 |
#if 0 |
| 44 |
extern int init_error_table(const char * const *msgs, long base, int count); |
45 |
extern int init_error_table(const char * const *msgs, long base, int count); |
|
|
46 |
#endif |
| 47 |
#define init_error_table(...) PLEASE_DO_NOT_USE_init_error_table_FUNCTION |
| 45 |
|
48 |
|
| 46 |
extern errcode_t add_error_table(const struct error_table * et); |
49 |
extern errcode_t add_error_table(const struct error_table * et); |
| 47 |
extern errcode_t remove_error_table(const struct error_table * et); |
50 |
extern errcode_t remove_error_table(const struct error_table * et); |
| 48 |
-- e2fsprogs-1.36/lib/et/init_et.c |
|
|
|
Lines 15-21
Link Here
|
| 15 |
* this software for any purpose. It is provided "as is" without |
15 |
* this software for any purpose. It is provided "as is" without |
| 16 |
* express or implied warranty. |
16 |
* express or implied warranty. |
| 17 |
*/ |
17 |
*/ |
| 18 |
|
18 |
#if 0 |
| 19 |
#include <stdio.h> |
19 |
#include <stdio.h> |
| 20 |
#include <errno.h> |
20 |
#include <errno.h> |
| 21 |
#ifdef HAVE_STDLIB_H |
21 |
#ifdef HAVE_STDLIB_H |
|
Lines 50-52
Link Here
|
| 50 |
_et_list = &new_et->etl; |
50 |
_et_list = &new_et->etl; |
| 51 |
return 0; |
51 |
return 0; |
| 52 |
} |
52 |
} |
|
|
53 |
#endif |
| 54 |
|