Skip to content

Commit 83c2288

Browse files
const ftw
1 parent cdf513b commit 83c2288

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fileioc/fileioc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ int ti_Delete(const char *name);
272272
* @param type Type of variable to delete
273273
* @returns 0 if failed
274274
*/
275-
int ti_DeleteVar(const char *varname, uint8_t type);
275+
int ti_DeleteVar(const char *varname, const uint8_t type);
276276

277277
/**
278278
* Gets the string used for displaying a TI token
@@ -317,7 +317,7 @@ void ti_GetName(char *name, const ti_var_t slot);
317317
* @returns 0 if success, 1 if file already exists, 2 any other error occurs.
318318
* @warning: This function closes all open slots!
319319
*/
320-
uint8_t ti_Rename(char *old, char *new);
320+
uint8_t ti_Rename(const char *old, const char *new);
321321

322322
/**
323323
* Renames a variable
@@ -328,7 +328,7 @@ uint8_t ti_Rename(char *old, char *new);
328328
* @returns 0 if success, 1 if file already exists, 2 any other error occurs.
329329
* @warning: This function closes all open slots!
330330
*/
331-
uint8_t ti_RenameVar(char *old, char *new, uint8_t type);
331+
uint8_t ti_RenameVar(const char *old, const char *new, const uint8_t type);
332332

333333
/**
334334
* Sets a variable

0 commit comments

Comments
 (0)