summaryrefslogtreecommitdiff
path: root/libgcompat/version.c
blob: 99c2c8cc8d195bb075ad18067050d4755e809f94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdlib.h> /* getenv */

const char *gnu_get_libc_version(void)
{
	char *ver = getenv("GLIBC_FAKE_VERSION");
	if (ver == NULL) {
		ver = "2.8";
	}

	return ver;
}

const char *gnu_get_libc_release(void)
{
	return "stable";
}