X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=platform.h;h=57ba3526b4fbef9ce695f703c9fada81b76e3d19;hp=50b119a6beb12c0ecc3d739dec673397ed78c898;hb=41a76ab91dc6f872b03cd64f51aba86578f330c0;hpb=f53502c9ca9b78090712a424c1b87c27682be66c diff --git a/platform.h b/platform.h index 50b119a..57ba352 100644 --- a/platform.h +++ b/platform.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012, 2013 + * Copyright (C) 2012, 2013, 2014, 2015 * Dale Weiler * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -185,24 +185,6 @@ const char *platform_ctime(const time_t *timer); */ char *platform_strncat(char *dest, const char *src, size_t num); -/* - * Function: platform_tmpnam - * Generates names you can use to create temporary files. - * - * Parameters: - * str - Pointer that will hold the generated name and will be identical - * to the name returned by the function. This is a convenient way - * to save the generated name. - * - * Returns: - * Pointer to the name generate or *NULL* if there is a failure. Failure - * can occur if you attempt more than TMP_MAX calls. - * - * Remarks: - * Returns a name unique in the current workign directory. - */ -const char *platform_tmpnam(char *str); - /* * Function: platform_getenv * Get a value from the current enviroment.