Skip to content

Add "const" to function prototypes where appropriate #40

@skliper

Description

@skliper

In particular, this should be done at least for functions that accept char * strings but do not modify them. If a string literal (by definition a const char *) is passed into function argument that is declared a non-const char *, a compiler warning may be generated and the build will fail if compiled with strict settings.

This ticket will add "const" to function parameters where appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions