* move sHaikuRevision from uname.c into new system_revision.c

* add private function get_system_revision() for accessing the
  revision string
* adjust uname to use get_system_revision

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41479 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-05-13 20:38:14 +00:00
parent 64c5bc6323
commit a961bbc69d
4 changed files with 39 additions and 8 deletions
+14
View File
@@ -11,4 +11,18 @@
#define SYSTEM_REVISION_LENGTH 128
#ifdef __cplusplus
extern "C" {
#endif
/** returns the system revision */
const char* get_system_revision();
#ifdef __cplusplus
}
#endif
#endif /* _SYSTEM_SYSTEM_REVISION_H */