Skip to content

src: formatting (cont.) - #1936

Closed
vszakats wants to merge 20 commits into
libssh2:masterfrom
vszakats:deprefix1
Closed

vszakats wants to merge 20 commits into
libssh2:masterfrom
vszakats:deprefix1

Conversation

@vszakats

@vszakats vszakats commented May 13, 2026 •

Copy link
Copy Markdown
Member
  • apply manually selected clang-format fixes.
  • apply manual formatting fixes.
  • move return type inline with the declaration.
    (for private APIs)
  • os400qc3: fix missed _libssh2_dh_ctx → libssh2_dh_ctx.
    Follow-up to 689b202 src: drop leading underscore from internal macro constants #1923
  • os400qc3: drop redundant line-continuation backslashes.
  • delete copy of function name from function top comments.
  • move literal to right hand side in a couple of comparisons.
  • drop redundant extern keywords.

Follow-up to 6ffb963 #1935


https://github.com/libssh2/libssh2/pull/1936/files?w=1

@vszakats vszakats closed this in 63e5948 May 13, 2026
@vszakats
vszakats deleted the deprefix1 branch May 13, 2026 10:00
vszakats added a commit that referenced this pull request May 13, 2026
Mostly via clang-format.

Follow-up to 63e5948 #1936

Closes #1938
vszakats added a commit that referenced this pull request Jun 4, 2026
Also:
- drop redundant parentheses from
  `LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC()` arg.
  Follow-up to b6f307d #1898

Follow-up to f0279a6 #1964
Follow-up to e85ce25 #1960
Follow-up to 1db4083 #1938
Follow-up to 63e5948 #1936
Follow-up to 6ffb963 #1935

Closes #1968
vszakats added a commit that referenced this pull request Jun 4, 2026
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.

1 participant