]> git.cameronkatri.com Git - mandoc.git/blob - config.h.post
Some compilers apparently worry that abort() might return
[mandoc.git] / config.h.post
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
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
23 #ifndef HAVE_REALLOCARRAY
24 extern void *reallocarray(void *, size_t, size_t);
25 #endif
26 #ifndef HAVE_SQLITE3_ERRSTR
27 extern const char *sqlite3_errstr(int);
28 #endif
29 #ifndef HAVE_STRCASESTR
30 extern char *strcasestr(const char *, const char *);
31 #endif
32 #ifndef HAVE_STRLCAT
33 extern size_t strlcat(char *, const char *, size_t);
34 #endif
35 #ifndef HAVE_STRLCPY
36 extern size_t strlcpy(char *, const char *, size_t);
37 #endif
38 #ifndef HAVE_STRSEP
39 extern char *strsep(char **, const char *);
40 #endif
41
42 #endif /* MANDOC_CONFIG_H */