maybe_disable_address_randomization always returns "int argc"
maybe_disable_address_randomization needs a consistent signature regardless of HAVE_PERSONALITY_ADDR_NO_RANDOMIZE.
This commit is contained in:
parent
c14eab222c
commit
db711687c3
1 changed files with 2 additions and 1 deletions
|
@ -4327,9 +4327,10 @@ struct tty_display_info;
|
|||
#ifdef HAVE_PERSONALITY_ADDR_NO_RANDOMIZE
|
||||
extern int maybe_disable_address_randomization (bool, int, char **);
|
||||
#else
|
||||
INLINE void
|
||||
INLINE int
|
||||
maybe_disable_address_randomization (bool dumping, int argc, char **argv)
|
||||
{
|
||||
return argc;
|
||||
}
|
||||
#endif
|
||||
extern int emacs_exec_file (char const *, char *const *, char *const *);
|
||||
|
|
Loading…
Add table
Reference in a new issue