Changeset 277 in openpam for trunk/include


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

I originally thought the XSSO was wrong to declare pam_get_data()'s
final argument as void rather than const void , but having seen
the strict aliasing warnings gcc generates at higher -O levels, it
makes a lot more sense. Change the prototype and definition back to
what the XSSO specifies, and make the necessary changes to avoid
warnings in code that calls pam_get_data().

File:
1 edited

Legend:

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

    r245 r277  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/pam_appl.h#13 $
     34 * $P4: //depot/projects/openpam/include/security/pam_appl.h#14 $
    3535 */
    3636
     
    7272pam_get_data(pam_handle_t *_pamh,
    7373        const char *_module_data_name,
    74         const void **_data);
     74        void **_data);
    7575
    7676int
Note: See TracChangeset for help on using the changeset viewer.