xref: /minix/external/bsd/mdocml/dist/config.h.post (revision 0a6a1f1d)
1#if !defined(__BEGIN_DECLS)
2#  ifdef __cplusplus
3#  define	__BEGIN_DECLS		extern "C" {
4#  else
5#  define	__BEGIN_DECLS
6#  endif
7#endif
8#if !defined(__END_DECLS)
9#  ifdef __cplusplus
10#  define	__END_DECLS		}
11#  else
12#  define	__END_DECLS
13#  endif
14#endif
15
16#ifndef HAVE_FGETLN
17extern	char	 *fgetln(FILE *, size_t *);
18#endif
19#ifndef HAVE_GETSUBOPT
20extern	int	  getsubopt(char **, char * const *, char **);
21extern	char	 *suboptarg;
22#endif
23#ifndef HAVE_STRCASESTR
24extern	char	 *strcasestr(const char *, const char *);
25#endif
26#ifndef HAVE_STRLCAT
27extern	size_t	  strlcat(char *, const char *, size_t);
28#endif
29#ifndef HAVE_STRLCPY
30extern	size_t	  strlcpy(char *, const char *, size_t);
31#endif
32#ifndef HAVE_STRNLEN
33extern	size_t	  strnlen(const char *, size_t);
34#endif
35#ifndef HAVE_STRSEP
36extern	char	 *strsep(char **, const char *);
37#endif
38
39#endif /* MANDOC_CONFIG_H */
40