aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-03 11:35:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-03 11:35:01 +0000
commit04879dddb6a40e58404e931790876ac21d5733fc (patch)
treea91fd24c03499897f25b9f484ce808ae2b1d4657 /mandoc.h
parent2dc48867c481f09ce2be74a13a69776d8528efc1 (diff)
downloadmandoc-04879dddb6a40e58404e931790876ac21d5733fc.tar.gz
mandoc-04879dddb6a40e58404e931790876ac21d5733fc.tar.zst
mandoc-04879dddb6a40e58404e931790876ac21d5733fc.zip
Remove some stray argument names from function prototypes,
for consistency with the dominant style used in mandoc. No functional change. Patch from Martin Vahlensieck <academicsolutions dot ch>.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mandoc.h b/mandoc.h
index 8379f972..d37b9640 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,7 +1,7 @@
-/* $Id: mandoc.h,v 1.266 2020/01/19 18:02:00 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.267 2020/04/03 11:35:01 schwarze Exp $ */
/*
- * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2012-2020 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -16,6 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Error handling, escape sequence, and character utilities.
+ * Can be used by all code in the mandoc package.
*/
#define ASCII_NBRSP 31 /* non-breaking space */
@@ -299,7 +300,7 @@ enum mandoc_esc {
};
-enum mandoc_esc mandoc_font(const char *, int sz);
+enum mandoc_esc mandoc_font(const char *, int);
enum mandoc_esc mandoc_escape(const char **, const char **, int *);
void mandoc_msg_setoutfile(FILE *);
const char *mandoc_msg_getinfilename(void);