mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Added __atribute((deprecated)) when possible
This commit is contained in:
parent
272ed28963
commit
35c28b4efb
@ -27,12 +27,12 @@ void __attribute__ ((destructor)) _mdb_exit()
|
|||||||
mdb_remove_backends();
|
mdb_remove_backends();
|
||||||
}
|
}
|
||||||
|
|
||||||
void mdb_init()
|
void __attribute__((deprecated)) mdb_init()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "mdb_init() is DEPRECATED and does nothing. Stop calling it.\n");
|
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");
|
fprintf(stderr, "mdb_exit() is DEPRECATED and does nothing. Stop calling it.\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user