diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2012-06-04 15:27:10 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2012-06-04 15:27:10 -0800 |
| commit | 5a0fa135478a2784db573a7400808561fcf30d95 (patch) | |
| tree | bb98cf879b37546ece755c05fce7bb1b8c0961df /src/posixregex.c | |
| parent | 8a4030c48788057946009afe70f420860e7317b7 (diff) | |
| download | dmstools-5a0fa135478a2784db573a7400808561fcf30d95.tar.gz dmstools-5a0fa135478a2784db573a7400808561fcf30d95.tar.bz2 dmstools-5a0fa135478a2784db573a7400808561fcf30d95.tar.xz dmstools-5a0fa135478a2784db573a7400808561fcf30d95.zip | |
Changing variable name.
Diffstat (limited to 'src/posixregex.c')
| -rw-r--r-- | src/posixregex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/posixregex.c b/src/posixregex.c index eed4b38..dd9affe 100644 --- a/src/posixregex.c +++ b/src/posixregex.c | |||
| @@ -186,7 +186,7 @@ int main(int argc, char * argv[]) | |||
| 186 | int x; | 186 | int x; |
| 187 | int y; | 187 | int y; |
| 188 | int err; | 188 | int err; |
| 189 | int code; | 189 | int exitcode; |
| 190 | int str_len; | 190 | int str_len; |
| 191 | int quiet; | 191 | int quiet; |
| 192 | int verbosity; | 192 | int verbosity; |
| @@ -212,7 +212,7 @@ int main(int argc, char * argv[]) | |||
| 212 | }; | 212 | }; |
| 213 | 213 | ||
| 214 | // initialize variables | 214 | // initialize variables |
| 215 | code = 0; | 215 | exitcode = 0; |
| 216 | restr = NULL; | 216 | restr = NULL; |
| 217 | quiet = 0; | 217 | quiet = 0; |
| 218 | verbosity = 0; | 218 | verbosity = 0; |
| @@ -302,7 +302,7 @@ int main(int argc, char * argv[]) | |||
| 302 | printf("not found\n"); | 302 | printf("not found\n"); |
| 303 | if (verbosity) | 303 | if (verbosity) |
| 304 | printf("\n"); | 304 | printf("\n"); |
| 305 | code = 1; | 305 | exitcode = 1; |
| 306 | } else { | 306 | } else { |
| 307 | if (!(quiet)) | 307 | if (!(quiet)) |
| 308 | printf(" found\n"); | 308 | printf(" found\n"); |
| @@ -330,7 +330,7 @@ int main(int argc, char * argv[]) | |||
| 330 | regfree(®ex); | 330 | regfree(®ex); |
| 331 | 331 | ||
| 332 | // end function | 332 | // end function |
| 333 | return(code); | 333 | return(exitcode); |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | 336 | ||
