Addressed more issues raised by splint.

This commit is contained in:
Andrew Wood
2023-09-23 21:53:31 +01:00
parent 780b65a648
commit 2033c6085f
8 changed files with 58 additions and 22 deletions
+3
View File
@@ -88,6 +88,9 @@
/* Define to 1 if you have the `msgget' function. */
#undef HAVE_MSGGET
/* Define to 1 if you have the `nanosleep' function. */
#undef HAVE_NANOSLEEP
/* Define to 1 if you have the `posix_fadvise' function. */
#undef HAVE_POSIX_FADVISE
+1 -1
View File
@@ -307,7 +307,7 @@ void pv_remote_check(pvstate_t);
void pv_remote_fini(pvstate_t);
int pv_remote_set(pvstate_t);
int pv_watchfd_info(pvstate_t, pvwatchfd_t, int);
int pv_watchfd_info(pvstate_t, pvwatchfd_t, bool);
int pv_watchfd_changed(pvwatchfd_t);
off_t pv_watchfd_position(pvwatchfd_t);
int pv_watchpid_scanfds(pvstate_t, pvstate_t, unsigned int, int *, pvwatchfd_t *, pvstate_t *, int *);
+3
View File
@@ -123,6 +123,9 @@ void pv_elapsedtime_subtract(struct timespec *, const struct timespec *, const s
/* Convert a timespec to seconds. */
long double pv_elapsedtime_seconds(const struct timespec *);
/* Sleep for a number of nanoseconds. */
void pv_nanosleep(long long);
/*
* Main PV functions.