Mercurial > vim
comparison runtime/tools/ccfilter.c @ 7842:cf744110897d v7.4.1218
commit https://github.com/vim/vim/commit/779a7759ad03e6a3fb616828793512644390655a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 23:26:34 2016 +0100
patch 7.4.1218
Problem: Missing change in configure. More changes for function style.
Solution: Avoid the typos.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 23:30:05 +0100 |
parents | 3fc0f57ecb91 |
children | 071f9da012fb |
comparison
equal
deleted
inserted
replaced
7841:c39d982a69aa | 7842:cf744110897d |
---|---|
83 " Note: COMPILER may be preceded by an _\n" | 83 " Note: COMPILER may be preceded by an _\n" |
84 " -h This usage.\n"; | 84 " -h This usage.\n"; |
85 | 85 |
86 | 86 |
87 int ShowUsage( char *szError ) | 87 int ShowUsage( char *szError ) |
88 { int i; | 88 { |
89 int i; | |
89 | 90 |
90 fprintf( stderr, USAGE ); | 91 fprintf( stderr, USAGE ); |
91 | 92 |
92 fprintf( stderr, "Current default <COMPILER>: %s\n", | 93 fprintf( stderr, "Current default <COMPILER>: %s\n", |
93 COMPILER_Names[COMPILER_DEFAULT][0] ); | 94 COMPILER_Names[COMPILER_DEFAULT][0] ); |
99 COMPILER_Names[i][1] ); | 100 COMPILER_Names[i][1] ); |
100 fprintf(stderr, szError); | 101 fprintf(stderr, szError); |
101 return 0; | 102 return 0; |
102 } | 103 } |
103 | 104 |
104 char *echogets(char *s, int echo) { | 105 char *echogets(char *s, int echo) |
106 { | |
105 char * const retval=fgets(s, LINELENGTH, stdin); | 107 char * const retval=fgets(s, LINELENGTH, stdin); |
106 if (echo!=0 && retval!=NULL) { | 108 if (echo!=0 && retval!=NULL) { |
107 fputs(retval, stderr); | 109 fputs(retval, stderr); |
108 } | 110 } |
109 return retval; | 111 return retval; |