mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 02:09:49 +08:00
Added __atribute((deprecated)) when possible
This commit is contained in:
@@ -27,12 +27,12 @@ void __attribute__ ((destructor)) _mdb_exit()
|
||||
mdb_remove_backends();
|
||||
}
|
||||
|
||||
void mdb_init()
|
||||
void __attribute__((deprecated)) mdb_init()
|
||||
{
|
||||
fprintf(stderr, "mdb_init() is DEPRECATED and does nothing. Stop calling it.\n");
|
||||
}
|
||||
|
||||
void mdb_exit()
|
||||
void __attribute__((deprecated)) mdb_exit()
|
||||
{
|
||||
fprintf(stderr, "mdb_exit() is DEPRECATED and does nothing. Stop calling it.\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user