summaryrefslogtreecommitdiffstatshomepage
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 19:47:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 19:47:40 +0000
commit1d3a7705febdbaf10ef07e08dc4f3019afbf29ad (patch)
tree391f4a48d1f892b127e9bb23735ce4bab20d9c37 /private.h
parente2892275c699cbcc5427072ac3a59c6c690a8f6b (diff)
downloadmandoc-1d3a7705febdbaf10ef07e08dc4f3019afbf29ad.tar.gz
mandoc-1d3a7705febdbaf10ef07e08dc4f3019afbf29ad.tar.zst
mandoc-1d3a7705febdbaf10ef07e08dc4f3019afbf29ad.zip
Removed some unnecesary functions.
Diffstat (limited to 'private.h')
-rw-r--r--private.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/private.h b/private.h
index ac79a003..fe48bb99 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.87 2009/03/08 19:28:09 kristaps Exp $ */
+/* $Id: private.h,v 1.88 2009/03/08 19:47:40 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -97,7 +97,6 @@ void mdoc_vmsg(struct mdoc *, int, int,
const char *, ...);
int mdoc_verr(struct mdoc *, int, int,
const char *, ...);
-
int mdoc_macro(MACRO_PROT_ARGS);
int mdoc_word_alloc(struct mdoc *,
int, int, const char *);
@@ -111,28 +110,22 @@ int mdoc_tail_alloc(struct mdoc *, int, int, int);
int mdoc_body_alloc(struct mdoc *, int, int, int);
void mdoc_node_free(struct mdoc_node *);
void mdoc_node_freelist(struct mdoc_node *);
-void mdoc_sibling(struct mdoc *, int, struct mdoc_node **,
- struct mdoc_node **, struct mdoc_node *);
void *mdoc_tokhash_alloc(void);
int mdoc_tokhash_find(const void *, const char *);
void mdoc_tokhash_free(void *);
int mdoc_iscdelim(char);
size_t mdoc_isescape(const char *);
enum mdoc_sec mdoc_atosec(const char *);
-
time_t mdoc_atotime(const char *);
size_t mdoc_macro2len(int);
-
const char *mdoc_a2arch(const char *);
const char *mdoc_a2vol(const char *);
const char *mdoc_a2msec(const char *);
-
int mdoc_valid_pre(struct mdoc *,
const struct mdoc_node *);
int mdoc_valid_post(struct mdoc *);
int mdoc_action_pre(struct mdoc *, struct mdoc_node *);
int mdoc_action_post(struct mdoc *);
-
int mdoc_argv(struct mdoc *, int, int,
struct mdoc_arg **, int *, char *);
#define ARGV_ERROR (-1)
@@ -148,16 +141,13 @@ int mdoc_args(struct mdoc *, int,
#define ARGS_PUNCT (2)
#define ARGS_QWORD (3)
#define ARGS_PHRASE (4)
-
int xstrlcpys(char *, const struct mdoc_node *, size_t);
int xstrlcat(char *, const char *, size_t);
int xstrlcpy(char *, const char *, size_t);
int xstrcmp(const char *, const char *);
-int xstrncmp(const char *, const char *, size_t);
void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
char *xstrdup(const char *);
-
int macro_end(struct mdoc *);
__END_DECLS