The following file was modified in apps/bluetooth/experimental:
Name Old version New version Comment
---- ----------- ----------- -------
bt_misc.h 1.7 1.8=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added const as appropriate.
The diff of the modified file(s):
--- bt_misc.h 2001/05/17 10:32:32 1.7
+++ bt_misc.h 2001/06/08 09:45:37 1.8
@@ -57,15 +57,15 @@
int translate_speed(int spd);
=20
/* Socket handling */
-int open_socket(char *name, int role);
-int open_tcpsocket(char *addrstr, int role);
+int open_socket(const char *name, int role);
+int open_tcpsocket(const char *addrstr, int role);
=20
-int write_pidfile(char *pidname);
+int write_pidfile(const char *pidname);
char *get_local_ip_address(void);
const char *bd2str(const unsigned char *bd);
#ifndef BT_USERSTACK
-void print_data(const char *message, unsigned char *buf, int len);
+void print_data(const char *message, const unsigned char *buf, int len);
#endif
-void set_pin_code(char *pin);
+void set_pin_code(const char *pin);
=20
#endif /* __BT_MISC_H__*/
|