1 /* 2 * We make the version string static, and return a pointer to it, rather 3 * than exporting the version string directly. On at least some UNIXes, 4 * if you import data from a shared library into an program, the data is 5 * bound into the program binary, so if the string in the version of the 6 * library with which the program was linked isn't the same as the 7 * string in the version of the library with which the program is being 8 * run, various undesirable things may happen (warnings, the string 9 * being the one from the version of the library with which the program 10 * was linked, or even weirder things, such as the string being the one 11 * from the library but being truncated). 12 */ 13 static const char pcap_version_string[] = "libpcap version %%LIBPCAP_VERSION%%"; 14