libroot_debug: Merge guarded heap into libroot_debug.
[haiku.git] / src / system / libroot / os / system_revision.c
bloba4b00bdbd522431d30a1619bcdba1b978c62c06d
1 /*
2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <system_revision.h>
10 // Haiku revision (hrev). Will be set when copying libroot.so to the image.
11 // Lives in a separate section so that it can easily be found.
12 static char sHaikuRevision[SYSTEM_REVISION_LENGTH]
13 __attribute__((section("_haiku_revision")));
16 const char*
17 #ifdef _KERNEL_MODE
18 get_haiku_revision(void)
19 #else
20 __get_haiku_revision(void)
21 #endif
23 return sHaikuRevision;