Skip to content

Conversation

@vszakats
Copy link
Member

Also: add argument names to prototypes.

Also: add argument names to prototypes.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the API design of the tool_urlglob module by adding const correctness to the url parameter and enhancing code readability by adding parameter names to function prototypes.

  • Added const qualifier to the url parameter in glob_url function
  • Added descriptive parameter names to all function prototypes in the header file

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/tool_urlglob.h Added parameter names to all function declarations and added const qualifier to the url parameter in glob_url declaration
src/tool_urlglob.c Added const qualifier to the url parameter in glob_url implementation to match the header declaration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vszakats vszakats closed this in c0d8fed Dec 20, 2025
@vszakats vszakats deleted the globdeb branch December 20, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant