mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 16:48:22 +02:00
util/anon_file: const string param
Fixes:c0376a1234("util: add anon_file.h for all memfd/temp file usage") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Tested-by: Eric Anholt <eric@anholt.net> Tested-by: Andreas Baierl <ichgeh@imkreisrum.de> (cherry picked from commit525a917c6c)
This commit is contained in:
parent
b13396622c
commit
e5e81d6530
2 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ create_tmpfile_cloexec(char *tmpname)
|
|||
* SCM_RIGHTS methods.
|
||||
*/
|
||||
int
|
||||
os_create_anonymous_file(off_t size, char *debug_name)
|
||||
os_create_anonymous_file(off_t size, const char *debug_name)
|
||||
{
|
||||
int fd, ret;
|
||||
#ifdef __FreeBSD__
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@
|
|||
#include <sys/types.h>
|
||||
#include "util/macros.h"
|
||||
|
||||
int os_create_anonymous_file(off_t size, char *debug_name);
|
||||
int os_create_anonymous_file(off_t size, const char *debug_name);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue