NAME

t/codingstd/c_header_guards.t - checks for rules related to guards in C header files

SYNOPSIS

    # test all files
    % prove t/codingstd/c_header_guards.t

    # test specific files
    % perl t/codingstd/c_header_guards.t include/parrot/bar.h

DESCRIPTION

Checks that all C language header files have an #ifndef PARROT_WHATEVER_H_GUARD definition, then they #define PARROT_WHATEVER_H_GUARD and add an #endif /* PARROT_WHATEVER_H_GUARD */ at the end, of the file as specified in PDD07.

AUTHOR

Mark Glines <mark at glines dot org>

SEE ALSO

"pdds/pdd07_codingstd.pod" in docs