[splint-discuss] Exporting declarations

splint at coreland.ath.cx splint at coreland.ath.cx
Mon May 25 11:21:36 EDT 2009


Hello.

I'm writing a program that uses functions defined in an external library
(as some people do, you know). Splint is giving me warnings such as:

copy.h:18:3: Constant exported, but not specified: COPY_OK
copy.h:40:25: Function exported, but not specified: copy_init
  A function is exported, but not specified. (Use -exportfcn to inhibit
  warning)

I've been over the manual a couple of times but can't see how I'm supposed
to specify 'copy_init'. Am I supposed to use the external LCL specification
language? I would rather write a specification that just suppress warnings.



More information about the splint-discuss mailing list