fix incorrect function prototype in header
remove unnecessary pragma once

It's enabled by default in gcc, and there are #ifdef guards in any case
add makefile
Merge pull request #1 from smcameron/master

1 fix and 2 small changes for worley