add const keyword to some APIs

Add 'const' keyword to 'char *' parameters to allow command handlers to
pass constant string arguments.  These changes allow the 'args' command
handler to be changed to 'const' in a subsequent patch.
This commit is contained in:
Zachary T Welch
2009-11-10 04:27:15 -08:00
parent 9741e126fd
commit ca594adb5a
15 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -33,6 +33,6 @@ typedef struct xilinx_bit_file_s
uint8_t *data;
} xilinx_bit_file_t;
int xilinx_read_bit_file(xilinx_bit_file_t *bit_file, char *filename);
int xilinx_read_bit_file(xilinx_bit_file_t *bit_file, const char *filename);
#endif /* XILINX_BIT_H */