forked from pyrovski/watts-up
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix implicit declaration compiler warnings
- Loading branch information
1 parent
b2ecf47
commit 0e8c3c7
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
#ifndef UTIL_H | ||
#define UTIL_H | ||
|
||
int parse_args(int argc, char ** argv); | ||
int wu_check_store(int index, int dev_fd); | ||
int open_device(char * device_name, int * dev_fd); | ||
void dbg(const char * fmt, ...); | ||
int setup_serial_device(int dev_fd); | ||
int wu_clear(int fd); | ||
static int wu_show_cal(int fd); | ||
int wu_check_show(int index, int dev_fd); | ||
int wu_start_log(void); | ||
int wu_read_data(int fd); | ||
int wu_stop_log(void); | ||
int wu_show(int index, int dev_fd); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters