mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-19 10:47:53 +08:00

Update libpcap from Git mirror commit 99a648a912e81e29d9c4c159cbbe263462f2d719 to 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
14 lines
759 B
C
14 lines
759 B
C
/*
|
|
* We make the version string static, and return a pointer to it, rather
|
|
* than exporting the version string directly. On at least some UNIXes,
|
|
* if you import data from a shared library into an program, the data is
|
|
* bound into the program binary, so if the string in the version of the
|
|
* library with which the program was linked isn't the same as the
|
|
* string in the version of the library with which the program is being
|
|
* run, various undesirable things may happen (warnings, the string
|
|
* being the one from the version of the library with which the program
|
|
* was linked, or even weirder things, such as the string being the one
|
|
* from the library but being truncated).
|
|
*/
|
|
static const char pcap_version_string[] = "libpcap version 1.8.1";
|