• R/O
  • HTTP
  • SSH
  • HTTPS

nkf: Commit

nkfのGitリポジトリです。


Commit MetaInfo

Revisãoc0e5bf414949f86d5a95f35498de7c8c02b2450b (tree)
Hora2015-12-12 22:59:46
AutorNARUSE, Yui <naruse@user...>
CommiterNARUSE, Yui

Mensagem de Log

fix typos

Mudança Sumário

Diff

--- a/nkf.c
+++ b/nkf.c
@@ -774,7 +774,7 @@ nkf_enc_find(const char *name)
774774
775775 #ifdef DEFAULT_CODE_LOCALE
776776 static const char*
777-nkf_locale_charmap()
777+nkf_locale_charmap(void)
778778 {
779779 #ifdef HAVE_LANGINFO_H
780780 return nl_langinfo(CODESET);
@@ -802,7 +802,7 @@ nkf_locale_charmap()
802802 }
803803
804804 static nkf_encoding*
805-nkf_locale_encoding()
805+nkf_locale_encoding(void)
806806 {
807807 nkf_encoding *enc = 0;
808808 const char *encname = nkf_locale_charmap();
@@ -813,13 +813,13 @@ nkf_locale_encoding()
813813 #endif /* DEFAULT_CODE_LOCALE */
814814
815815 static nkf_encoding*
816-nkf_utf8_encoding()
816+nkf_utf8_encoding(void)
817817 {
818818 return &nkf_encoding_table[UTF_8];
819819 }
820820
821821 static nkf_encoding*
822-nkf_default_encoding()
822+nkf_default_encoding(void)
823823 {
824824 nkf_encoding *enc = 0;
825825 #ifdef DEFAULT_CODE_LOCALE
@@ -4341,7 +4341,7 @@ mime_ungetc_buf(nkf_char c, FILE *f)
43414341 static nkf_char
43424342 mime_getc_buf(FILE *f)
43434343 {
4344- /* we don't keep eof of mime_input_buf, becase it contains ?= as
4344+ /* we don't keep eof of mime_input_buf, because it contains ?= as
43454345 a terminator. It was checked in mime_integrity. */
43464346 return ((mimebuf_f)?
43474347 (*i_mgetc_buf)(f):mime_input_buf(mime_input_state.input++));
@@ -5491,7 +5491,7 @@ typedef struct nkf_iconv_t {
54915491 size_t input_buffer_size;
54925492 char *output_buffer;
54935493 size_t output_buffer_size;
5494-}
5494+};
54955495
54965496 static nkf_iconv_t
54975497 nkf_iconv_new(char *tocode, char *fromcode)
@@ -5714,9 +5714,9 @@ module_connection(void)
57145714 x0201_f = X0201_DEFAULT;
57155715 }
57165716
5717- /* replace continucation module, from output side */
5717+ /* replace continuation module, from output side */
57185718
5719- /* output redicrection */
5719+ /* output redirection */
57205720 #ifdef CHECK_OPTION
57215721 if (noout_f || guess_f){
57225722 o_putc = no_putc;
@@ -5753,7 +5753,7 @@ module_connection(void)
57535753
57545754 i_getc = std_getc;
57555755 i_ungetc = std_ungetc;
5756- /* input redicrection */
5756+ /* input redirection */
57575757 #ifdef INPUT_OPTION
57585758 if (cap_f){
57595759 i_cgetc = i_getc; i_getc = cap_getc;
@@ -5915,7 +5915,7 @@ kanji_convert(FILE *f)
59155915 /* in case of 8th bit is on */
59165916 if (!estab_f&&!mime_decode_mode) {
59175917 /* in case of not established yet */
5918- /* It is still ambiguious */
5918+ /* It is still ambiguous */
59195919 if (h_conv(f, c2, c1)==EOF) {
59205920 LAST;
59215921 }
@@ -6899,7 +6899,7 @@ options(unsigned char *cp)
68996899 continue;
69006900 #endif
69016901 case SP:
6902- /* module muliple options in a string are allowed for Perl moudle */
6902+ /* module multiple options in a string are allowed for Perl module */
69036903 while(*cp && *cp++!='-');
69046904 continue;
69056905 default:
Show on old repository browser