Fix build with clang

This commit is contained in:
Baptiste Daroussin 2013-05-27 12:53:33 +00:00
parent 26eab0c72e
commit e34fd3b7e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319228

View File

@ -1,5 +1,5 @@
--- vnpstext.c.orig Wed Sep 2 14:01:59 1992
+++ vnpstext.c Sun Dec 8 01:24:48 1996
--- ./vnpstext.c.orig 1992-09-02 23:01:59.000000000 +0200
+++ ./vnpstext.c 2013-05-27 16:27:32.390245389 +0200
@@ -86,7 +86,8 @@
dofile(input)
FILE *input;
@ -20,3 +20,12 @@
if (!*line) printf("B\n");
else {
@@ -180,7 +182,7 @@
printf("/S{Lcheck count{gsave show grestore}repeat 0 ld rmoveto}def\n");
printf("/L{Lcheck ld mul 0 exch rmoveto}def\n");
printf("/B{Lcheck 0 ld rmoveto}def\n");
- return;
+ return NULL;
}
/* filename specified, use it */