aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regs.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-05 20:10:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-05 20:10:22 +0000
commit2d53479241546a875b9c64ec79c28fd821060f87 (patch)
tree0a679df5cc20b8a1d20193566652900a43ca5a73 /regs.h
parentd7a99a7add200310e8838bb9d92c7a9d70956551 (diff)
downloadmandoc-2d53479241546a875b9c64ec79c28fd821060f87.tar.gz
mandoc-2d53479241546a875b9c64ec79c28fd821060f87.tar.zst
mandoc-2d53479241546a875b9c64ec79c28fd821060f87.zip
Move register information into mandoc.h, which is where it should have
been in the first place (mandoc.h contains system-wide declarations).
Diffstat (limited to 'regs.h')
-rw-r--r--regs.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/regs.h b/regs.h
index 15f57f8e..2522afc1 100644
--- a/regs.h
+++ b/regs.h
@@ -1,4 +1,4 @@
-/* $Id: regs.h,v 1.5 2010/07/04 22:04:04 schwarze Exp $ */
+/* $Id: regs.h,v 1.6 2010/07/05 20:10:22 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -20,28 +20,6 @@
__BEGIN_DECLS
-enum regs {
- REG_nS = 0, /* nS */
- REG__MAX
-};
-
-struct reg {
- int set; /* whether set or not */
- union {
- unsigned u; /* unsigned integer */
- } v;
-};
-
-/*
- * Registers are non-scoped state. These can be manipulated directly in
- * libroff or indirectly in libman or libmdoc by macros. These should
- * be implemented sparingly (we are NOT roffdoc!) and documented fully
- * in roff.7.
- */
-struct regset {
- struct reg regs[REG__MAX];
-};
-
char *roff_setstr(const char *, const char *);
char *roff_getstr(const char *);
char *roff_getstrn(const char *, size_t);