Added semantic patch to remove (dst|isccc|pk11)/result.h includes
The internal implementation of isc_result API is being updated, before the update each internal library had to register their error results using a respective <lib>_result_register() call during runtime, these operations required locking to manage an internal data structure. In the same fashion, locking was required when calling isc_result_totext and isc_result_toid functions. To avoid locking, the table of error codes will now be statically created during compile time, also the result API is now unified and can be accessed through isc/result.h only header, with dns/result.h being an exception, it should still be included separately as dns_result_torcode() function depends on a type defined in the dns library.
This commit is contained in:
committed by
Diego dos Santos Fronza
parent
5b94d5b805
commit
70f5323818
@@ -0,0 +1,17 @@
|
||||
@@
|
||||
@@
|
||||
|
||||
(
|
||||
- #include <dst/result.h>
|
||||
|
|
||||
- #include "dst/result.h"
|
||||
|
|
||||
- #include <isccc/result.h>
|
||||
|
|
||||
- #include "isccc/result.h"
|
||||
|
|
||||
- #include <pk11/result.h>
|
||||
|
|
||||
- #include "pk11/result.h"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user