Remove trailing semicolon
Never name a variable errno
Building a static library, so no exports