diff --git a/examples/inlinekeyboard/inlinekeyboard.c b/examples/inlinekeyboard/inlinekeyboard.c index 94fae41..9ed2ed1 100644 --- a/examples/inlinekeyboard/inlinekeyboard.c +++ b/examples/inlinekeyboard/inlinekeyboard.c @@ -35,6 +35,7 @@ void callback_handler(tgbot_s *bot, tgbot_cbquery_s *query) { } void sighandler(int signum) { + (void)signum; fprintf(stdout, "Closing...\n"); run = false; } diff --git a/meson.build b/meson.build index 4be4d5d..d7be8d1 100644 --- a/meson.build +++ b/meson.build @@ -34,6 +34,6 @@ tgbot_dep = declare_dependency( # Example executable( 'example', - 'examples/echobot/echobot.c', + 'examples/inlinekeyboard/inlinekeyboard.c', dependencies: tgbot_dep, ) diff --git a/src/meson.build b/src/meson.build index 7540d73..cabe830 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,6 +1,7 @@ -sources += files( - 'json.c', - 'methods.c', - 'tgbot.c', - 'types.c', -) \ No newline at end of file +sources += files( + 'json.c', + 'methods.c', + 'parse.c', + 'tgbot.c', + 'types.c', +)