Changeset 276 in openpam for trunk


Ignore:
Timestamp:
Dec 11, 2003, 5:37:14 PM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Tell gcc that _openpam_log() behaves like printf().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/openpam.h

    r269 r276  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/openpam.h#26 $
     34 * $P4: //depot/projects/openpam/include/security/openpam.h#27 $
    3535 */
    3636
     
    148148        const char *_func,
    149149        const char *_fmt,
    150         ...);
     150        ...)
     151#if defined(__GNUC__)
     152        __attribute__((__format__(__printf__, 3, 4)))
     153#endif
     154        ;
    151155
    152156#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
Note: See TracChangeset for help on using the changeset viewer.