/
githubmirror
/
libfastjson
Обзор
Документация
Войти
/
githubmirror
/
libfastjson
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/chk_version.c
26 строк
617 B
Rainer Gerhards
add missing license header
11 апр 2016, 11:53
11 апр 2016, 11:53
a7d1f39
Код
Авторство
О чём код?
/* libfastjson testbench tool * * Copyright (c) 2016 Adiscon GmbH * Rainer Gerhards <rgerhards@adiscon.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. * */ #include "config.h" #include "../json.h" #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int __attribute__((unused)) argc, char __attribute__((unused)) **argv) { if(strcmp(fjson_version(), VERSION)) { fprintf(stderr, "ERROR: fjson_version reports '%s', VERSION is '%s'.\n", fjson_version(), VERSION); exit(1); } return 0; }