mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-09 15:50:21 +00:00
Pacify gcc -Warray-parameter
* src/pdumper.h: Declare array parameter with the same signature that the function definition uses.
This commit is contained in:
parent
33525102e7
commit
5be4483d33
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user