chiark / gitweb /
Make the code base clean under -Wwrite-strings.
[sgt-puzzles.git] / devel.but
index af6920240119c4369a4a2b58024a1b53517a42e3..131678c17b85e99273a125ddcd95016b28038d4f 100644 (file)
--- a/devel.but
+++ b/devel.but
@@ -3296,8 +3296,7 @@ visually activate and deactivate a redo button.
 \H{midend-serialise} \cw{midend_serialise()}
 
 \c void midend_serialise(midend *me,
-\c                       void (*write)(void *ctx, void *buf, int len),
-\c                       void *wctx);
+\c     void (*write)(void *ctx, const void *buf, int len), void *wctx);
 
 Calling this function causes the mid-end to convert its entire
 internal state into a long ASCII text string, and to pass that