X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ce4f763b585b472437eaa8223aee79105d7c3087..7ca732f0714b3bdace7b2642923a7a0f4919e2d2:/manpath.h diff --git a/manpath.h b/manpath.h index 167ee010..728373b2 100644 --- a/manpath.h +++ b/manpath.h @@ -1,4 +1,4 @@ -/* $Id: manpath.h,v 1.5 2011/12/13 20:56:46 kristaps Exp $ */ +/* $Id: manpath.h,v 1.7 2014/12/01 04:05:32 schwarze Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons @@ -15,15 +15,13 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef MANPATH_H -#define MANPATH_H /* * Unsorted list of unique, absolute paths to be searched for manual * databases. */ struct manpaths { - int sz; + size_t sz; char **paths; }; @@ -34,5 +32,3 @@ void manpath_parse(struct manpaths *, const char *, char *, char *); void manpath_free(struct manpaths *); __END_DECLS - -#endif /*!MANPATH_H*/