File:  [GnuMach] / Gnu-Mach / linux / dev / init / version.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Sep 2 04:41:39 2020 UTC (5 years, 10 months ago) by root
Branches: MAIN, GNU
CVS tags: HEAD, GNUMach180, GNUMach170, GNUMach160, GNUMach150, GNUMach140, GNUMach130, GNUMach120
GNU Mach 1.2

/*
 *  linux/version.c
 *
 *  Copyright (C) 1992  Theodore Ts'o
 *
 *  May be freely distributed as part of Linux.
 */

#define MACH_INCLUDE
#include <linux/config.h>
#include <linux/utsname.h>
#include <linux/version.h>
#include <linux/compile.h>

/* make the "checkconfig" script happy: we really need to include config.h */
#ifdef CONFIG_BOGUS
#endif

#define version(a) Version_ ## a
#define version_string(a) version(a)

int version_string (LINUX_VERSION_CODE) = 0;

struct new_utsname system_utsname =
{
  UTS_SYSNAME, UTS_NODENAME, UTS_RELEASE, UTS_VERSION,
  UTS_MACHINE, UTS_DOMAINNAME
};

const char *linux_banner =
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.