xref: /freebsd/contrib/atf/atf-c/detail/version_helper.c (revision 8f0ea33f2bbf3a6aa80235f0a02fa5f2780c2b17)
11a61beb0SJulio Merino /*
21a61beb0SJulio Merino  * Copyright 2014 Google Inc.
31a61beb0SJulio Merino  * All rights reserved.
41a61beb0SJulio Merino  *
51a61beb0SJulio Merino  * Redistribution and use in source and binary forms, with or without
61a61beb0SJulio Merino  * modification, are permitted provided that the following conditions are
71a61beb0SJulio Merino  * met:
81a61beb0SJulio Merino  *
91a61beb0SJulio Merino  * * Redistributions of source code must retain the above copyright
101a61beb0SJulio Merino  *   notice, this list of conditions and the following disclaimer.
111a61beb0SJulio Merino  * * Redistributions in binary form must reproduce the above copyright
121a61beb0SJulio Merino  *   notice, this list of conditions and the following disclaimer in the
131a61beb0SJulio Merino  *   documentation and/or other materials provided with the distribution.
141a61beb0SJulio Merino  * * Neither the name of Google Inc. nor the names of its contributors
151a61beb0SJulio Merino  *   may be used to endorse or promote products derived from this software
161a61beb0SJulio Merino  *   without specific prior written permission.
171a61beb0SJulio Merino  *
181a61beb0SJulio Merino  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
191a61beb0SJulio Merino  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
201a61beb0SJulio Merino  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
211a61beb0SJulio Merino  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
221a61beb0SJulio Merino  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
231a61beb0SJulio Merino  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
241a61beb0SJulio Merino  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
251a61beb0SJulio Merino  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
261a61beb0SJulio Merino  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
271a61beb0SJulio Merino  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
281a61beb0SJulio Merino  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
291a61beb0SJulio Merino  */
301a61beb0SJulio Merino 
311a61beb0SJulio Merino #if defined(HAVE_CONFIG_H)
32*0677dfd1SJulio Merino #include "config.h"
331a61beb0SJulio Merino #endif
341a61beb0SJulio Merino 
351a61beb0SJulio Merino #include <stdio.h>
361a61beb0SJulio Merino #include <stdlib.h>
371a61beb0SJulio Merino 
381a61beb0SJulio Merino int
main(void)391a61beb0SJulio Merino main(void)
401a61beb0SJulio Merino {
411a61beb0SJulio Merino     printf("%s\n", PACKAGE_VERSION);
421a61beb0SJulio Merino     return EXIT_SUCCESS;
431a61beb0SJulio Merino }
44