diff options
author | marha <marha@users.sourceforge.net> | 2009-09-02 19:44:58 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-09-02 19:44:58 +0000 |
commit | e1c68a679e675cde4066be7eb3ad67f33cb41899 (patch) | |
tree | ea1ea28953d8b214e3830cc64d8ee1515a8a50c7 /xorg-server/fonts.src/font-util/ucs2any.c | |
parent | 56a27f6611e837680efc8b30e3a6a4fa931124d1 (diff) | |
download | vcxsrv-e1c68a679e675cde4066be7eb3ad67f33cb41899.tar.gz vcxsrv-e1c68a679e675cde4066be7eb3ad67f33cb41899.tar.bz2 vcxsrv-e1c68a679e675cde4066be7eb3ad67f33cb41899.zip |
Switched to font-util-1.0.2.tar.gz
Diffstat (limited to 'xorg-server/fonts.src/font-util/ucs2any.c')
-rw-r--r-- | xorg-server/fonts.src/font-util/ucs2any.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xorg-server/fonts.src/font-util/ucs2any.c b/xorg-server/fonts.src/font-util/ucs2any.c index 0437c5b49..054a40ac2 100644 --- a/xorg-server/fonts.src/font-util/ucs2any.c +++ b/xorg-server/fonts.src/font-util/ucs2any.c @@ -13,9 +13,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED @@ -55,7 +52,7 @@ #include <unistd.h> /* global variable for argv[0] */ -const char *my_name = NULL; +static const char *my_name = NULL; #ifdef NEED_BASENAME static char * @@ -336,7 +333,7 @@ DEC VT100 graphics characters in the range 1-31 (as expected by some old xterm versions and a few other applications) */ #define decmap_size 31 -int decmap[decmap_size] = { +static int decmap[decmap_size] = { 0x25C6, /* BLACK DIAMOND */ 0x2592, /* MEDIUM SHADE */ 0x2409, /* SYMBOL FOR HORIZONTAL TABULATION */ @@ -522,6 +519,7 @@ main(int argc, char *argv[]) char *registry_encoding = NULL; my_name = argv[0]; + bbx.cheight = bbx.cxoff = bbx.cyoff = -1; startchar = da_new("startchar"); my_char = da_new("my_char"); |