Be more CONSTant with the parameters we will not modify
This commit is contained in:
1 parent
21f556149b
commit
4c9f611141
6 files changed
+8
-8
No files matched your search
@@ -18,8 +18,8 @@
|
||||
|
||||
typedef struct pm3_device pm3;
|
||||
|
||||
pm3 *pm3_open(char *port);
|
||||
int pm3_console(pm3 *dev, char *cmd);
|
||||
pm3 *pm3_open(const char *port);
|
||||
int pm3_console(pm3 *dev, const char *cmd);
|
||||
const char *pm3_name_get(pm3 *dev);
|
||||
void pm3_close(pm3 *dev);
|
||||
pm3 *pm3_get_current_dev(void);
|
||||
|
||||
Reference in new issue
Block a user