mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Add include guard.
This commit is contained in:
parent
4b97c9fc26
commit
e8ffaee986
@ -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 SERIALPORT_H
|
||||||
|
#define SERIALPORT_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -76,3 +79,5 @@ int sp_set_params(struct sp_port *port, int baudrate, int bits, int parity,
|
|||||||
int sp_last_error_code(void);
|
int sp_last_error_code(void);
|
||||||
char *sp_last_error_message(void);
|
char *sp_last_error_message(void);
|
||||||
void sp_free_error_message(char *message);
|
void sp_free_error_message(char *message);
|
||||||
|
|
||||||
|
#endif /* SERIALPORT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user