Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: Minor function definition order cleanup. #1271

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jun 9, 2018

This moves the function definition for enforceNodeCFFlag so it are more consistent with the preferred order used throughout the codebase. In particular, the functions are defined before they're first used and
generally as close as possible to the first use when they're defined in the same file.

While moving, it also reformats the code to match the same spacing as the other CF functions for consistency.

There are no functional changes.

@davecgh davecgh force-pushed the server_cleanup_cf branch from fbd74a9 to dd25277 Compare June 9, 2018 01:21
Copy link
Member

@dajohi dajohi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

This moves the function definition for enforceNodeCFFlag so it are more
consistent with the preferred order used throughout the codebase.  In
particular, the functions are defined before they're first used and
generally as close as possible to the first use when they're defined in
the same file.

While moving, it also reformats the code to match the same spacing as
the other CF functions for consistency.

There are no functional changes.
@davecgh davecgh force-pushed the server_cleanup_cf branch from dd25277 to ffabd89 Compare June 12, 2018 18:08
Copy link
Member

@jrick jrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@davecgh davecgh merged commit ffabd89 into decred:master Jun 12, 2018
@davecgh davecgh deleted the server_cleanup_cf branch June 12, 2018 18:18
@davecgh davecgh added this to the 1.3.0 milestone Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants