mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-20 09:48:12 +02:00
Remove unused function nspaces32() from tools module #1
This commit is contained in:
parent
91d1971cca
commit
53e7782b5f
10
src/tools.c
10
src/tools.c
@ -487,14 +487,4 @@ char *nspaces(const size_t n)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
uint32_t *nspaces32(const size_t n)
|
|
||||||
{
|
|
||||||
uint32_t *spaces = (uint32_t *) malloc((n + 1) * sizeof(uint32_t));
|
|
||||||
u32_set(spaces, char_space, n);
|
|
||||||
u32_set(spaces + n, char_nul, 1);
|
|
||||||
return spaces;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*EOF*/ /* vim: set sw=4: */
|
/*EOF*/ /* vim: set sw=4: */
|
||||||
|
@ -64,7 +64,6 @@ char *tabbify_indent(const size_t lineno, char *indentspc, const size_t indentsp
|
|||||||
|
|
||||||
char *nspaces(const size_t n);
|
char *nspaces(const size_t n);
|
||||||
|
|
||||||
uint32_t *nspaces32(const size_t n);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user