diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2023-01-04 11:21:29 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-01-04 12:41:49 +0000 |
commit | 8ebb3eb6ac1d61728c1538fc3fc1d174a0c56969 (patch) | |
tree | 0654cad0c783390f70d2a366aade7580966a3775 /base/gpmisc.c | |
parent | caa4631be0801055b2ad8e68292342270f96f2bf (diff) | |
download | ghostpdl-8ebb3eb6ac1d61728c1538fc3fc1d174a0c56969.tar.gz |
Fix compiler warnings in base/
Function prototype mismatches and missing prototypes
Fix compiler warnings
Diffstat (limited to 'base/gpmisc.c')
-rw-r--r-- | base/gpmisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/gpmisc.c b/base/gpmisc.c index 3d878acce..38d6d60e2 100644 --- a/base/gpmisc.c +++ b/base/gpmisc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2023 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -839,7 +839,7 @@ do_open_scratch_file(const gs_memory_t *mem, gp_file * gp_open_scratch_file(const gs_memory_t *mem, const char *prefix, - char *fname, + char fname[gp_file_name_sizeof], const char *mode) { return do_open_scratch_file(mem, prefix, fname, mode, 0); @@ -848,7 +848,7 @@ gp_open_scratch_file(const gs_memory_t *mem, gp_file * gp_open_scratch_file_rm(const gs_memory_t *mem, const char *prefix, - char *fname, + char fname[gp_file_name_sizeof], const char *mode) { return do_open_scratch_file(mem, prefix, fname, mode, 1); |