diff --git a/libdispatch/derror.c b/libdispatch/derror.c index 733fbf27e..d11d402c4 100644 --- a/libdispatch/derror.c +++ b/libdispatch/derror.c @@ -12,13 +12,13 @@ Research/Unidata. See COPYRIGHT file for more info. #include /* for ncmpi_strerror() */ #endif -/* Tell the user the version of netCDF. */ +/** The version string for the library, used by nc_inq_libvers(). */ static const char nc_libvers[] = PACKAGE_VERSION " of "__DATE__" "__TIME__" $"; /** - Return the library version. +Return the library version. - \returns short string that contains the version information for the +\returns short string that contains the version information for the library. */ const char * diff --git a/libdispatch/dfile.c b/libdispatch/dfile.c index 1a4e8eba3..fc023a872 100644 --- a/libdispatch/dfile.c +++ b/libdispatch/dfile.c @@ -2166,6 +2166,15 @@ done: return status; } +/** + * Close the file opened to check for magic number. + * + * @param file pointer to the MagicFile struct for this open file. + * @returns NC_NOERR for success + * @returns NC_EPARINIT if there was a problem closing file with MPI + * (parallel builds only). + * @author Dennis Heimbigner + */ static int closemagic(struct MagicFile* file) {