1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00
sgminer/ccan/opt/test/compile_ok-const-arg.c

14 lines
302 B
C
Raw Normal View History

#include <ccan/opt/opt.h>
#include <ccan/opt/opt.c>
#include <ccan/opt/helpers.c>
#include <ccan/opt/parse.c>
#include <ccan/opt/usage.c>
int main(int argc, char *argv[])
{
opt_register_noarg("-v", opt_version_and_exit,
(const char *)"1.2.3",
(const char *)"Print version");
return 0;
}