file.h: Rename function argument to avoid C++ keyword clash.

Fixes #744
This commit is contained in:
Sean Bright
2024-05-24 10:32:09 -04:00
parent 80839ce954
commit b769bee218
2 changed files with 6 additions and 5 deletions

View File

@@ -140,12 +140,13 @@ int ast_filecopy(const char *oldname, const char *newname, const char *fmt);
/*!
* \brief same as mkstemp, but return a FILE
* \param template The template for the unique file name to generate. Modified in place to return the file name.
* \param template_name The template for the unique file name to generate.
* Modified in place to return the file name.
* \param mode The mode for file permissions
*
* \return FILE handle to the temporary file on success or NULL if creation failed
*/
FILE *ast_file_mkftemp(char *template, mode_t mode);
FILE *ast_file_mkftemp(char *template_name, mode_t mode);
/*!
* \brief Create a temporary file located at path