nanotodon.c:134:18: warning: passing argument 2 of ‘naddstr’ discards ‘const ’ qualifier from pointer target type [-Wdiscarded-qualifiers]
134 | naddstr(sbctx, dname);
| ^~~~~
In file included from nanotodon.c:17:
sbuf.h:21:36: note: expected ‘char *’ but argument is of type ‘const char *’
21 | void naddstr(sbctx_t *sbctx, char *s);
| ~~~~~~^
この類の警告抑止
ファイル末尾改行漏れも合わせて直しています(というかエディタが勝手に直した)