Revisão | c0e5bf414949f86d5a95f35498de7c8c02b2450b (tree) |
---|---|
Hora | 2015-12-12 22:59:46 |
Autor | NARUSE, Yui <naruse@user...> |
Commiter | NARUSE, Yui |
fix typos
@@ -774,7 +774,7 @@ nkf_enc_find(const char *name) | ||
774 | 774 | |
775 | 775 | #ifdef DEFAULT_CODE_LOCALE |
776 | 776 | static const char* |
777 | -nkf_locale_charmap() | |
777 | +nkf_locale_charmap(void) | |
778 | 778 | { |
779 | 779 | #ifdef HAVE_LANGINFO_H |
780 | 780 | return nl_langinfo(CODESET); |
@@ -802,7 +802,7 @@ nkf_locale_charmap() | ||
802 | 802 | } |
803 | 803 | |
804 | 804 | static nkf_encoding* |
805 | -nkf_locale_encoding() | |
805 | +nkf_locale_encoding(void) | |
806 | 806 | { |
807 | 807 | nkf_encoding *enc = 0; |
808 | 808 | const char *encname = nkf_locale_charmap(); |
@@ -813,13 +813,13 @@ nkf_locale_encoding() | ||
813 | 813 | #endif /* DEFAULT_CODE_LOCALE */ |
814 | 814 | |
815 | 815 | static nkf_encoding* |
816 | -nkf_utf8_encoding() | |
816 | +nkf_utf8_encoding(void) | |
817 | 817 | { |
818 | 818 | return &nkf_encoding_table[UTF_8]; |
819 | 819 | } |
820 | 820 | |
821 | 821 | static nkf_encoding* |
822 | -nkf_default_encoding() | |
822 | +nkf_default_encoding(void) | |
823 | 823 | { |
824 | 824 | nkf_encoding *enc = 0; |
825 | 825 | #ifdef DEFAULT_CODE_LOCALE |
@@ -4341,7 +4341,7 @@ mime_ungetc_buf(nkf_char c, FILE *f) | ||
4341 | 4341 | static nkf_char |
4342 | 4342 | mime_getc_buf(FILE *f) |
4343 | 4343 | { |
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 | |
4345 | 4345 | a terminator. It was checked in mime_integrity. */ |
4346 | 4346 | return ((mimebuf_f)? |
4347 | 4347 | (*i_mgetc_buf)(f):mime_input_buf(mime_input_state.input++)); |
@@ -5491,7 +5491,7 @@ typedef struct nkf_iconv_t { | ||
5491 | 5491 | size_t input_buffer_size; |
5492 | 5492 | char *output_buffer; |
5493 | 5493 | size_t output_buffer_size; |
5494 | -} | |
5494 | +}; | |
5495 | 5495 | |
5496 | 5496 | static nkf_iconv_t |
5497 | 5497 | nkf_iconv_new(char *tocode, char *fromcode) |
@@ -5714,9 +5714,9 @@ module_connection(void) | ||
5714 | 5714 | x0201_f = X0201_DEFAULT; |
5715 | 5715 | } |
5716 | 5716 | |
5717 | - /* replace continucation module, from output side */ | |
5717 | + /* replace continuation module, from output side */ | |
5718 | 5718 | |
5719 | - /* output redicrection */ | |
5719 | + /* output redirection */ | |
5720 | 5720 | #ifdef CHECK_OPTION |
5721 | 5721 | if (noout_f || guess_f){ |
5722 | 5722 | o_putc = no_putc; |
@@ -5753,7 +5753,7 @@ module_connection(void) | ||
5753 | 5753 | |
5754 | 5754 | i_getc = std_getc; |
5755 | 5755 | i_ungetc = std_ungetc; |
5756 | - /* input redicrection */ | |
5756 | + /* input redirection */ | |
5757 | 5757 | #ifdef INPUT_OPTION |
5758 | 5758 | if (cap_f){ |
5759 | 5759 | i_cgetc = i_getc; i_getc = cap_getc; |
@@ -5915,7 +5915,7 @@ kanji_convert(FILE *f) | ||
5915 | 5915 | /* in case of 8th bit is on */ |
5916 | 5916 | if (!estab_f&&!mime_decode_mode) { |
5917 | 5917 | /* in case of not established yet */ |
5918 | - /* It is still ambiguious */ | |
5918 | + /* It is still ambiguous */ | |
5919 | 5919 | if (h_conv(f, c2, c1)==EOF) { |
5920 | 5920 | LAST; |
5921 | 5921 | } |
@@ -6899,7 +6899,7 @@ options(unsigned char *cp) | ||
6899 | 6899 | continue; |
6900 | 6900 | #endif |
6901 | 6901 | 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 */ | |
6903 | 6903 | while(*cp && *cp++!='-'); |
6904 | 6904 | continue; |
6905 | 6905 | default: |