Subversion Repositories HelenOS

Rev

Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3150
Line 33... Line 33...
33
 * @file
33
 * @file
34
 */
34
 */
35
 
35
 
36
#include <unistd.h>
36
#include <unistd.h>
37
#include <stdio.h>
37
#include <stdio.h>
-
 
38
#include "init.h"
38
#include "version.h"
39
#include "version.h"
39
 
40
 
40
char *release = RELEASE;
41
char *release = RELEASE;
41
 
42
 
42
#ifdef REVISION
43
#ifdef REVISION
Line 49... Line 50...
49
    char *timestamp = "\nBuilt on " TIMESTAMP;
50
    char *timestamp = "\nBuilt on " TIMESTAMP;
50
#else
51
#else
51
    char *timestamp = "";
52
    char *timestamp = "";
52
#endif
53
#endif
53
 
54
 
-
 
55
void info_print(void)
-
 
56
{
-
 
57
    printf(NAME ": HelenOS init\n");
-
 
58
}
-
 
59
 
54
/** Print version information. */
60
/** Print version information. */
55
void version_print(void)
61
void version_print(void)
56
{
62
{
57
    printf("HelenOS init\nRelease %s%s%s\nCopyright (c) 2006 HelenOS project\n", release, revision, timestamp);
63
    printf("HelenOS init\nRelease %s%s%s\nCopyright (c) 2006 HelenOS project\n", release, revision, timestamp);
58
}
64
}