sim: cgen: always leverage the mem prototypes
authorMike Frysinger <vapier@gentoo.org>
Sun, 27 Jun 2021 02:29:35 +0000 (22:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 27 Jun 2021 14:44:22 +0000 (10:44 -0400)
commit2d922d86bac7b51bfe8e45ed4c8aa7af37010ead
tree07fc8570b578d2cf71458d3d1f3bd88b05f2920d
parent694d6fdba114b7e4b1749a4575303625efb98fe3
sim: cgen: always leverage the mem prototypes

This fixes missing prototype warnings, and guarantees the prototypes
stay in sync with the function definitions.  One of the macros had
fallen out by declaring the wrong return type.
sim/common/ChangeLog
sim/common/cgen-mem.h