e36cba8a36
kib points out that trying to re-use symbol versioning from libc is dirty and wrong. The implementation in libregex is incompatible by design with the implementation in libc. Using the symbol versions from libc can and likely will cause confusions for linkers and bring unexpected behavior for consumers that unwillingly (transitively) link against libregex. Reported by: kib
17 lines
336 B
Plaintext
17 lines
336 B
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/*
|
|
* libregex uses a different version name because its symbols are not strictly
|
|
* compatible with those provided by libc. Re-using the version name from libc
|
|
* could cause linking headaches and make debugging more difficult than it needs
|
|
* to be.
|
|
*/
|
|
LIBREGEX_1.0 {
|
|
regcomp;
|
|
regerror;
|
|
regexec;
|
|
regfree;
|
|
};
|