diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-05-06 15:54:41 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-05-10 16:50:04 +0100 |
commit | 9e9a37f4ac097e2571a172b569edbda807179eb9 (patch) | |
tree | 4072ddfb66d9a1aabec0b063c02713af3ee849a5 /base/gssprintf.h | |
parent | 398bfc844bde6e2b2a4f6552ce326ad619471316 (diff) | |
download | ghostpdl-9e9a37f4ac097e2571a172b569edbda807179eb9.tar.gz |
Remove gs_sprintf()
We've standardised on using gs_snprintf() to keep coverity from complaining
about overflowing the interim buffer size.
Remove the definition of gs_sprintf() to avoid mistakenly using it in the future
Diffstat (limited to 'base/gssprintf.h')
-rw-r--r-- | base/gssprintf.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/base/gssprintf.h b/base/gssprintf.h index 0b5f6d3dd..961a68b9f 100644 --- a/base/gssprintf.h +++ b/base/gssprintf.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2021 Artifex Software, Inc. +/* Copyright (C) 2001-2022 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -28,8 +28,5 @@ int gs_vsprintf(char *zBuf, const char *zFormat, va_list ap); int -gs_sprintf(char *zBuf, const char *zFormat, ...); - -int gs_sscanf(char *buf, const char *format, ...); #endif |