Changeset 566 in openpam


Ignore:
Timestamp:
Apr 5, 2012, 2:30:41 PM (3 years ago)
Author:
des
Message:

#include <stdio.h> when appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/misc/gendoc.pl

    r545 r566  
    456456.Sh SYNOPSIS
    457457.In sys/types.h
    458 .In security/pam_appl.h
     458";
     459    if ($func->{'args'} =~ m/\bFILE \*\b/) {
     460        $mdoc .= ".In stdio.h\n";
     461    }
     462    $mdoc .= ".In security/pam_appl.h
    459463";
    460464    if ($func->{'name'} =~ m/_sm_/) {
    461         $mdoc .= ".In security/pam_modules.h\n"
     465        $mdoc .= ".In security/pam_modules.h\n";
    462466    }
    463467    if ($func->{'name'} =~ m/openpam/) {
    464         $mdoc .= ".In security/openpam.h\n"
     468        $mdoc .= ".In security/openpam.h\n";
    465469    }
    466470    $mdoc .= ".Ft \"$func->{'type'}\"
Note: See TracChangeset for help on using the changeset viewer.