Annotation of mandoc/config.h.post, Revision 1.8
1.1 kristaps 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:
1.8 ! schwarze 16: #ifndef HAVE_FGETLN
! 17: extern char *fgetln(FILE *, size_t *);
! 18: #endif
! 19: #ifndef HAVE_GETSUBOPT
! 20: extern int getsubopt(char **, char * const *, char **);
! 21: extern char *suboptarg;
! 22: #endif
1.7 schwarze 23: #ifndef HAVE_STRCASESTR
24: extern char *strcasestr(const char *, const char *);
25: #endif
1.1 kristaps 26: #ifndef HAVE_STRLCAT
27: extern size_t strlcat(char *, const char *, size_t);
28: #endif
29: #ifndef HAVE_STRLCPY
30: extern size_t strlcpy(char *, const char *, size_t);
1.7 schwarze 31: #endif
1.8 ! schwarze 32: #ifndef HAVE_STRNLEN
! 33: extern size_t strnlen(const char *, size_t);
! 34: #endif
1.7 schwarze 35: #ifndef HAVE_STRSEP
36: extern char *strsep(char **, const char *);
1.4 kristaps 37: #endif
1.1 kristaps 38:
39: #endif /* MANDOC_CONFIG_H */
CVSweb