Skip to content

plugins exporting their local symbols #1954

@andreasbaumann

Description

@andreasbaumann

nm check_curl | grep print:

0000000000005580 T print_help
000000000000b470 T print_revision
000000000000d500 T print_thresholds
0000000000005430 T print_usage

Is there a particular reason why we use this style:

void print_help (void);
...
void
print_help (void)
{
...

instead of:

static print_help (void);
...
void
print_help (void)
{
...

IMHO it just exports a whole bunch of local symbols into the binary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions