From: handa Date: Tue, 1 Jul 2008 02:13:38 +0000 (+0000) Subject: (make_stream, setup_stream) X-Git-Tag: REL-0-9-9~45 X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Flibotf.git;a=commitdiff_plain;h=2ab8ed959c3f84ac2b7b9885cec02e8cb4278200 (make_stream, setup_stream) (make_stream_from_ft_face, free_stream, read_offset_table): Make them static. --- 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;