haiku/headers/private/libroot/system_revision.h
Oliver Tappe 22a7fe9695 Cleanup system-revision stuff.
* move system_revision.h to headers/private/libroot
* unify libroot's get_system_revision() (the one I introduced recently) with kernel's
  get_haiku_revision(), the function is now called get_haiku_revision() in the kernel
  and __get_haiku_revision() in libroot
* system_revision.c is now being built as part of libroot and as part of the kernel
* adjusted all callers of get_system_revision() accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-15 16:33:30 +00:00

33 lines
584 B
C

/*
* Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>.
* Distributed under the terms of the MIT License.
*/
#ifndef _LIBROOT_SYSTEM_REVISION_H
#define _LIBROOT_SYSTEM_REVISION_H
/** The length of the system revision character array symbol living in libroot
and the kernel */
#define SYSTEM_REVISION_LENGTH 128
#ifdef __cplusplus
extern "C" {
#endif
/** returns the system revision */
#ifdef _KERNEL_MODE
const char* get_haiku_revision(void);
#else
const char* __get_haiku_revision(void);
#endif
#ifdef __cplusplus
}
#endif
#endif /* _LIBROOT_SYSTEM_REVISION_H */