blob: ee0f389206e3b080d693a1176851e139ca9af6b6 [file] [log] [blame]
Inaky Perez-Gonzalez8ddf82c2015-04-10 16:44:37 -07001/* version.h - version number library */
2
3/*
4 * Copyright (c) 2013-2014 Wind River Systems, Inc.
5 *
Javier B Perez Hernandezf7fffae2015-10-06 11:00:37 -05006 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
Inaky Perez-Gonzalez8ddf82c2015-04-10 16:44:37 -07009 *
Javier B Perez Hernandezf7fffae2015-10-06 11:00:37 -050010 * http://www.apache.org/licenses/LICENSE-2.0
Inaky Perez-Gonzalez8ddf82c2015-04-10 16:44:37 -070011 *
Javier B Perez Hernandezf7fffae2015-10-06 11:00:37 -050012 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
Inaky Perez-Gonzalez8ddf82c2015-04-10 16:44:37 -070017 */
18
19struct version {
20 int kernel;
21 int major;
22 int minor;
23 int maintenance;
24};
25
26extern void show_version(const char *name, const struct version *ver);