sim: constify sim_write source buffer
Most the sim write functions declare their source buffer const because they only ever read from it. The global sim_write() function does not follow this convention though which causes some warnings when trying to pass it const strings or buffers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-04-13 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* remote-sim.h (sim_write): Add const to buf arg.
|
||||
|
||||
2009-11-24 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* sim-rx.h: New.
|
||||
|
Reference in New Issue
Block a user