From 5186f1d50c73b6205721ee315b84620280fff608 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 7 Apr 2013 12:52:29 -0400 Subject: [PATCH] doc: Fix various groff/nroff warnings. --- doc/ck_cohort | 2 +- doc/ck_epoch_barrier | 1 + doc/ck_epoch_call | 3 +-- doc/ck_epoch_synchronize | 1 + doc/ck_hs_destroy | 1 - doc/ck_hs_stat | 1 + 6 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ck_cohort b/doc/ck_cohort index 91f6c1e..d6f4edf 100644 --- a/doc/ck_cohort +++ b/doc/ck_cohort @@ -188,7 +188,7 @@ main(void) return 0; } - +.Ed .Sh SEE ALSO .Xr CK_COHORT_PROTOTYPE 3 , .Xr CK_COHORT_TRYLOCK_PROTOTYPE 3 , diff --git a/doc/ck_epoch_barrier b/doc/ck_epoch_barrier index c0087c0..e4b63ac 100644 --- a/doc/ck_epoch_barrier +++ b/doc/ck_epoch_barrier @@ -95,6 +95,7 @@ function(void) free(s); return; } +.Ed .Sh RETURN VALUES This function has no return value. .Sh ERRORS diff --git a/doc/ck_epoch_call b/doc/ck_epoch_call index 132b9d0..2736488 100644 --- a/doc/ck_epoch_call +++ b/doc/ck_epoch_call @@ -33,9 +33,7 @@ Concurrency Kit (libck, \-lck) .Sh SYNOPSIS .In ck_epoch.h - typedef struct ck_epoch_entry ck_epoch_entry_t; - typedef void ck_epoch_cb_t(ck_epoch_entry_t *); .Ft void .Fn ck_epoch_call "ck_epoch_t *epoch" "ck_epoch_record_t *record" "ck_epoch_entry_t *entry" "ck_epoch_cb_t *function" @@ -114,6 +112,7 @@ function(void) ck_epoch_poll(&epoch, record); return; } +.Ed .Sh RETURN VALUES This function has no return value. .Sh ERRORS diff --git a/doc/ck_epoch_synchronize b/doc/ck_epoch_synchronize index 08bd4f0..e1b8ab3 100644 --- a/doc/ck_epoch_synchronize +++ b/doc/ck_epoch_synchronize @@ -99,6 +99,7 @@ function(void) free(s); return; } +.Ed .Sh RETURN VALUES This function has no return value. .Sh ERRORS diff --git a/doc/ck_hs_destroy b/doc/ck_hs_destroy index 7d05b21..ad73575 100644 --- a/doc/ck_hs_destroy +++ b/doc/ck_hs_destroy @@ -43,7 +43,6 @@ function will request that the underlying allocator, as specified by the function, immediately destroy the object pointed to by the .Fa hs argument. - The user must guarantee that no threads are accessing the object pointed to by .Fa hs diff --git a/doc/ck_hs_stat b/doc/ck_hs_stat index 1f89f9a..b4ad5a9 100644 --- a/doc/ck_hs_stat +++ b/doc/ck_hs_stat @@ -48,6 +48,7 @@ struct ck_hs_stat { unsigned long n_entries; /* Current number of keys in hash set. */ unsigned int probe_maximum; /* Longest read-side probe sequence. */ }; +.Ed .Sh RETURN VALUES .Fn ck_hs_stat 3 has no return value.