mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-23 08:04:18 +02:00
change code to use allocMem wrapper for memory allocation
One of the new string handling routines is a wrapper for allocating memory. This commit changes the rest of the code to take advantage of that wrapper.
This commit is contained in:
parent
6180ff6e49
commit
3b4b6d0cbc
3 changed files with 10 additions and 22 deletions
|
|
@ -20,6 +20,8 @@
|
|||
#ifndef __STRINGHANDLING_H
|
||||
#define __STRINGHANDLING_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
extern char *EMPTYSTRING;
|
||||
|
||||
void *allocMem(size_t n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue