lint(1) false alarm with zlib.h + crypto.h

Issue #181 resolved
Takehiko NOZAKI repo owner created an issue

following code:

$ cat >unko.c
#include <zlib.h>
#include <openssl/crypto.h>
^D

lint(1) may produce strange false alarm:

$ lint -z unko.c
unko.c:
crypto.h(502): syntax error 'free_func' [249]
crypto.h(502): syntax error ')' [249]
crypto.h(507): syntax error 'free_func' [249]
crypto.h(507): syntax error ')' [249]

Comments (5)

  1. Log in to comment