mirror of https://github.com/ericonr/sndio.git
use sndiod's utils.c
This commit is contained in:
parent
c80a3fc1ff
commit
af4e943293
|
@ -60,9 +60,9 @@ log_flush(void)
|
|||
* store a string in the log
|
||||
*/
|
||||
void
|
||||
log_puts(const char *msg)
|
||||
log_puts(char *msg)
|
||||
{
|
||||
const char *p = msg;
|
||||
char *p = msg;
|
||||
int c;
|
||||
|
||||
while ((c = *p++) != '\0') {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
void log_puts(const char *);
|
||||
void log_puts(char *);
|
||||
void log_putx(unsigned long);
|
||||
void log_putu(unsigned long);
|
||||
void log_puti(long);
|
||||
|
|
Loading…
Reference in New Issue