30 lines
822 B
Diff
30 lines
822 B
Diff
|
--- e2fsprogs-1.39/lib/et/com_err.h
|
||
|
+++ e2fsprogs-1.39/lib/et/com_err.h
|
||
|
@@ -41,7 +41,10 @@
|
||
|
(const char *, long, const char *, va_list);
|
||
|
extern void (*reset_com_err_hook (void)) (const char *, long,
|
||
|
const char *, va_list);
|
||
|
+#if 0
|
||
|
extern int init_error_table(const char * const *msgs, long base, int count);
|
||
|
+#endif
|
||
|
+#define init_error_table(...) PLEASE_DO_NOT_USE_init_error_table_FUNCTION
|
||
|
|
||
|
extern errcode_t add_error_table(const struct error_table * et);
|
||
|
extern errcode_t remove_error_table(const struct error_table * et);
|
||
|
--- e2fsprogs-1.39/lib/et/init_et.c
|
||
|
+++ e2fsprogs-1.39/lib/et/init_et.c
|
||
|
@@ -16,6 +16,7 @@
|
||
|
* express or implied warranty.
|
||
|
*/
|
||
|
|
||
|
+#if 0
|
||
|
#include <stdio.h>
|
||
|
#include <errno.h>
|
||
|
#ifdef HAVE_STDLIB_H
|
||
|
@@ -50,3 +51,5 @@
|
||
|
_et_dynamic_list = &new_et->etl;
|
||
|
return 0;
|
||
|
}
|
||
|
+#endif
|
||
|
+
|