File: version.c

package info (click to toggle)
hodie 1.4-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 144 kB
  • ctags: 104
  • sloc: ansic: 1,132; makefile: 75
file content (14 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "includes.h"

#ifndef HODIE_RELEASE
#define HODIE_RELEASE "Please include 'version.h' before compilation"
#endif

void
print_version(void)
{
    printf("hodie %s\n", HODIE_RELEASE);
    printf("\nCopyright (c) 2000, Mikael Johansson\n");
    printf("Released under MIT-style license. Please read the file\n");
    printf("LICENSE distributed with the source code for details\n");
}