GitHub user calavera opened a pull request:
https://github.com/apache/trafficserver/pull/1147
[TS-4855] Make `const char` consistent accross the project.
This change makes `const char` the default format before `char const`.
Searching through the code, it looks like there are more usages of `const
char`, so it looks normal and easier to adopt that terminology:
```
â trafficserver git:(fix_const_char_inconsistency) ag 'char const' -o
--nogroup | wc -l
577
â trafficserver git:(fix_const_char_inconsistency) ag 'const char' -o
--nogroup | wc -l
6897
â trafficserver git:(fix_const_char_inconsistency)
```
Signed-off-by: David Calavera <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/calavera/trafficserver
fix_const_char_inconsistency
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1147.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1147
----
commit 471d9ec72e2ae5f1994ce3afae58fd2fbe5e16af
Author: David Calavera <[email protected]>
Date: 2016-10-26T21:41:59Z
[TS-4855] Make `const char` consistent accross the project.
Signed-off-by: David Calavera <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---