mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-03-02 08:27:04 +00:00
matchpathcon_fini: annotate deprecated
Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
708c2d9ca6
commit
bcb39e6451
@ -476,7 +476,11 @@ extern int matchpathcon_init(const char *path)
|
||||
extern int matchpathcon_init_prefix(const char *path, const char *prefix);
|
||||
|
||||
/* Free the memory allocated by matchpathcon_init. */
|
||||
extern void matchpathcon_fini(void);
|
||||
extern void matchpathcon_fini(void)
|
||||
#ifdef __GNUC__
|
||||
__attribute__ ((deprecated("Use selabel_close")))
|
||||
#endif
|
||||
;
|
||||
|
||||
/* Resolve all of the symlinks and relative portions of a pathname, but NOT
|
||||
* the final component (same a realpath() unless the final component is a
|
||||
|
Loading…
x
Reference in New Issue
Block a user