=================================================================== RCS file: /cvs/mandoc/Attic/manpath.h,v retrieving revision 1.3 retrieving revision 1.7 diff -u -p -r1.3 -r1.7 --- mandoc/Attic/manpath.h 2011/11/24 10:44:56 1.3 +++ mandoc/Attic/manpath.h 2014/12/01 04:05:32 1.7 @@ -1,4 +1,4 @@ -/* $Id: manpath.h,v 1.3 2011/11/24 10:44:56 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,26 +15,20 @@ * 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; }; __BEGIN_DECLS -void manpath_manconf(const char *, struct manpaths *); -void manpath_parse(struct manpaths *, char *, char *); -void manpath_parseconf(struct manpaths *); -void manpath_parseline(struct manpaths *, char *); +void manpath_manconf(struct manpaths *, const char *); +void manpath_parse(struct manpaths *, const char *, char *, char *); void manpath_free(struct manpaths *); __END_DECLS - -#endif /*!MANPATH_H*/