SHA256
1
0
forked from pool/texlive
texlive/source-common.patch

26 lines
954 B
Diff

---
utils/autosp/autosp-src/utils.c | 1 +
utils/autosp/autosp-src/utils.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--- utils/autosp/autosp-src/utils.c
+++ utils/autosp/autosp-src/utils.c 2020-01-09 11:48:29.954763221 +0000
@@ -23,6 +23,7 @@
*/
# include "utils.h"
+int lineno;
void
warning (const char msg[]) /* output warning message msg to stderr */
--- utils/autosp/autosp-src/utils.h
+++ utils/autosp/autosp-src/utils.h 2020-01-09 11:48:01.819295851 +0000
@@ -61,6 +61,6 @@ extern size_t append (char *dst, char **
extern bool prefix (const char *cs, const char *ct); /* is string cs[] a prefix of ct[]? */
extern bool suffix (const char *cs, const char *ct); /* is string cs[] a suffix of ct[]? */
-int lineno;
+extern int lineno;
extern void error (const char msg[]); /* abort with stderr message msg */
extern void warning (const char msg[]); /* output warning message msg to stderr */