Use of extern in in the implementation of double floats from an external library

Can you post the .h and .c files? There doesn't appear to be anything wrong with what you are doing, but it's hard to be sure, because we don't know the line numbers in the file, from the snippets you posted.