janmojzis / tinyssh

TinySSH is small server (less than 100000 words of code)
Creative Commons Zero v1.0 Universal
1.44k stars 79 forks source link

packet_put: Add missing bug.h include for global_die #84

Closed lanodan closed 10 months ago

lanodan commented 10 months ago
packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        global_die(111);
        ^
1 error generated.
janmojzis commented 10 months ago

hi, merged thanks!

ChewbaccaKL commented 3 months ago

Great it's merged but in the last tagged version today (20240101) it still there and the standard gcc at archlinux cannot compile it because of that warning treated as error. Could you make a tag with a release that has this bug removed?