summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/out_routines.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-05 10:18:03 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-05 10:18:03 +0000
commit97fa7b3630528845d9934ad227bc9f3a0c9d1d98 (patch)
tree82a86de86632aef5b567b8ce105f1cee57acc7d0 /Build/source/texk/web2c/omegafonts/out_routines.c
parent146eef7b47aee302d588dcdf461ebec5870a6846 (diff)
omfonts: General cleanup: Drop unused code. Declare functions as static
git-svn-id: svn://tug.org/texlive/trunk@34847 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/out_routines.c')
-rw-r--r--Build/source/texk/web2c/omegafonts/out_routines.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/Build/source/texk/web2c/omegafonts/out_routines.c b/Build/source/texk/web2c/omegafonts/out_routines.c
index 38c7947a6fb..3428cd8e769 100644
--- a/Build/source/texk/web2c/omegafonts/out_routines.c
+++ b/Build/source/texk/web2c/omegafonts/out_routines.c
@@ -296,6 +296,8 @@ out_num(unsigned val)
else out_int(val, 16);
}
+static void out_digits(unsigned);
+
void
out_int(unsigned val, unsigned base)
{
@@ -319,23 +321,6 @@ out_int(unsigned val, unsigned base)
}
void
-out_as_fix(fix fval)
-{
- register fix x=0;
-
- if (fval<0) {
- x = 0xff000000;
- fval = fval + 0x1000000;
- }
- x = x | (fval & 0xff);
- fval = fval % 0x100;
- x = x | ((fval & 0xff) << 8);
- fval = fval % 0x100;
- x = x | ((fval & 0xff) << 16);
- out_fix(x);
-}
-
-void
out_fix(fix fval)
{
register int a = (fval & 0xfff00000) >> 20, f = fval & 0xfffff, j=0;
@@ -369,7 +354,7 @@ out_hex(unsigned char c)
fprintf(file_output, "%02X", c);
}
-void
+static void
out_digits(unsigned counter)
{
register unsigned j=counter, c;