Skip to content

Duplicate #include directives in multiple C files #102650

Closed
@chgnrdv

Description

@chgnrdv

These are examples of duplicate #include directives that, as far as I can see, do not cause any side effects and therefore can be freely removed (although I have doubts about few cases):

#include <Python.h>

#include <openssl/crypto.h> // FIPS_mode()

#include <stddef.h>

#include "pycore_signal.h" // Py_NSIG

#include <Python.h>

The PR is on the way.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions