commit | dde238e063376f96d52ff27f11b31a447ddbdfea | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Sat Dec 11 15:10:14 2021 -0700 |
committer | Tom Tromey <tom@tromey.com> | Mon Dec 20 08:49:27 2021 -0700 |
tree | 12d55ab85c592669dd02d14817f247bea49dc718 | |
parent | db956d66c94de1bc1ff9ac1c38350f14e81c11f6 [diff] |
Make n_spaces return a const char * n_spaces keeps the spaces in a static buffer. If a caller overwrites these, it may give an incorrect result to a subsequent caller. So, make the return type const to help avoid this outcome.