Add missing #include guards.
This commit is contained in:
parent
da21834e42
commit
8645feda60
|
@ -64,8 +64,8 @@
|
||||||
* or where otherwise documented a positive value.
|
* or where otherwise documented a positive value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBSERIALPORT_H
|
#ifndef LIBSERIALPORT_LIBSERIALPORT_H
|
||||||
#define LIBSERIALPORT_H
|
#define LIBSERIALPORT_LIBSERIALPORT_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -630,4 +630,4 @@ void sp_free_error_message(char *message);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LIBSERIALPORT_H */
|
#endif
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LIBSERIALPORT_LINUX_TERMIOS_H
|
||||||
|
#define LIBSERIALPORT_LINUX_TERMIOS_H
|
||||||
|
|
||||||
#define RTS_FLOW 1
|
#define RTS_FLOW 1
|
||||||
#define CTS_FLOW 2
|
#define CTS_FLOW 2
|
||||||
#define DTR_FLOW 4
|
#define DTR_FLOW 4
|
||||||
|
@ -30,3 +33,5 @@ void set_termios_speed(void *data, int speed);
|
||||||
int get_termiox_size(void);
|
int get_termiox_size(void);
|
||||||
int get_termiox_flow(void *data);
|
int get_termiox_flow(void *data);
|
||||||
void set_termiox_flow(void *data, int flags);
|
void set_termiox_flow(void *data, int flags);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue