From 2ab8ed959c3f84ac2b7b9885cec02e8cb4278200 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 1 Jul 2008 02:13:38 +0000 Subject: [PATCH] (make_stream, setup_stream) (make_stream_from_ft_face, free_stream, read_offset_table): Make them static. --- src/otfopen.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/otfopen.c b/src/otfopen.c index 982476a..2a7f989 100644 --- a/src/otfopen.c +++ b/src/otfopen.c @@ -91,7 +91,7 @@ typedef struct typedef long OTF_StreamState; -OTF_Stream * +static OTF_Stream * make_stream (const char *name) { OTF_Stream *stream; @@ -105,7 +105,7 @@ make_stream (const char *name) return stream; } -int +static int setup_stream (OTF_Stream *stream, FILE *fp, long offset, int nbytes) { char *errfmt = "stream setup for %s"; @@ -131,7 +131,7 @@ setup_stream (OTF_Stream *stream, FILE *fp, long offset, int nbytes) return 0; } -OTF_Stream * +static OTF_Stream * make_stream_from_ft_face (FT_Face face, const char *name) { char *errfmt = "FT_Face stream creation for %s"; @@ -161,7 +161,7 @@ make_stream_from_ft_face (FT_Face face, const char *name) return stream; } -void +static void free_stream (OTF_Stream *stream) { free (stream->buf); @@ -2611,7 +2611,7 @@ read_jstf_table (OTF_Stream *stream, long offset) /*** (1-11) Structure for OTF */ -int +static int read_offset_table (OTF *otf, OTF_Stream *stream, OTF_OffsetTable *table) { int errret = -1; -- 1.7.10.4