xref: /netbsd-src/external/bsd/atf/dist/atf-c/detail/version_helper.c (revision d780102efefa02003390cc43ea410dbd0ebb4a85)
1*d780102eSjmmv /*
2*d780102eSjmmv  * Copyright 2014 Google Inc.
3*d780102eSjmmv  * All rights reserved.
4*d780102eSjmmv  *
5*d780102eSjmmv  * Redistribution and use in source and binary forms, with or without
6*d780102eSjmmv  * modification, are permitted provided that the following conditions are
7*d780102eSjmmv  * met:
8*d780102eSjmmv  *
9*d780102eSjmmv  * * Redistributions of source code must retain the above copyright
10*d780102eSjmmv  *   notice, this list of conditions and the following disclaimer.
11*d780102eSjmmv  * * Redistributions in binary form must reproduce the above copyright
12*d780102eSjmmv  *   notice, this list of conditions and the following disclaimer in the
13*d780102eSjmmv  *   documentation and/or other materials provided with the distribution.
14*d780102eSjmmv  * * Neither the name of Google Inc. nor the names of its contributors
15*d780102eSjmmv  *   may be used to endorse or promote products derived from this software
16*d780102eSjmmv  *   without specific prior written permission.
17*d780102eSjmmv  *
18*d780102eSjmmv  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19*d780102eSjmmv  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20*d780102eSjmmv  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21*d780102eSjmmv  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22*d780102eSjmmv  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23*d780102eSjmmv  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24*d780102eSjmmv  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25*d780102eSjmmv  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26*d780102eSjmmv  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27*d780102eSjmmv  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28*d780102eSjmmv  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29*d780102eSjmmv  */
30*d780102eSjmmv 
31*d780102eSjmmv #if defined(HAVE_CONFIG_H)
32*d780102eSjmmv #include "bconfig.h"
33*d780102eSjmmv #endif
34*d780102eSjmmv 
35*d780102eSjmmv #include <stdio.h>
36*d780102eSjmmv #include <stdlib.h>
37*d780102eSjmmv 
38*d780102eSjmmv int
main(void)39*d780102eSjmmv main(void)
40*d780102eSjmmv {
41*d780102eSjmmv     printf("%s\n", PACKAGE_VERSION);
42*d780102eSjmmv     return EXIT_SUCCESS;
43*d780102eSjmmv }
44