summaryrefslogtreecommitdiff
path: root/ntpshm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-26 14:28:33 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-26 14:28:33 -0500
commitbab8757bc9e0b64883c8eeaa9ce5bd1909bbdcd4 (patch)
tree9f8a539fcdefa2e964c9573a28ade569977aa98c /ntpshm.h
parent6313827df2a9a0067132626a886e628990715064 (diff)
downloadgpsd-bab8757bc9e0b64883c8eeaa9ce5bd1909bbdcd4.tar.gz
Pre-release splint/cppcheck/coverity cleanup. All regression tests pass.
Diffstat (limited to 'ntpshm.h')
-rw-r--r--ntpshm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpshm.h b/ntpshm.h
index ceb01526..c8cd3b6e 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -66,8 +66,8 @@ struct shm_stat_t {
int leap;
};
-struct shmTime *shm_get(int, bool, bool);
+struct shmTime /*@null@*/ *shm_get(int, bool, bool);
extern char *shm_name(const int);
-enum segstat_t shm_query(struct shmTime *, struct shm_stat_t *);
+enum segstat_t shm_query(/*@null@*/struct shmTime *, /*@out@*/struct shm_stat_t *);
/* end */