The first one is a C++ header and the second is a C header. Since the first uses a namespace, that would seem to be preferable.
The first one is a C++ header and the second is a C header. Since the first uses a namespace, that would seem to be preferable.