summaryrefslogtreecommitdiff
path: root/src/pdumper.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-10-13 11:16:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-10-13 11:47:21 -0700
commit5be4483d33e574d30146e06b7ed083d1e1ece3d6 (patch)
tree832e08ac9f77471e446b8b25858f0c3fe8e499eb /src/pdumper.h
parent33525102e728134f5f7399a3490a154bb0078e6d (diff)
downloademacs-5be4483d33e574d30146e06b7ed083d1e1ece3d6.tar.gz
Pacify gcc -Warray-parameter
* src/pdumper.h: Declare array parameter with the same signature that the function definition uses.
Diffstat (limited to 'src/pdumper.h')
-rw-r--r--src/pdumper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdumper.h b/src/pdumper.h
index 79f8bce2d8c..7f1f5e46ad9 100644
--- a/src/pdumper.h
+++ b/src/pdumper.h
@@ -21,6 +21,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#define EMACS_PDUMPER_H
#include <stdio.h>
+#include "fingerprint.h"
#include "lisp.h"
INLINE_HEADER_BEGIN
@@ -52,7 +53,7 @@ enum { PDUMPER_NO_OBJECT = -1 };
pdumper_remember_scalar (&(thing), sizeof (thing))
extern void dump_fingerprint (FILE *output, const char *label,
- const unsigned char *xfingerprint);
+ unsigned char const fingerp[sizeof fingerprint]);
extern void pdumper_remember_scalar_impl (void *data, ptrdiff_t nbytes);