Changeset 3846 in MondoRescue


Ignore:
Timestamp:
Mar 6, 2024, 2:41:05 AM (3 months ago)
Author:
Bruno Cornec
Message:

Fix compiler warnings for cplusplus test and fatal_error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/newt-specific.c

    r3836 r3846  
    1414#define MAX_NEWT_COMMENT_LEN 200
    1515
    16 #if __cplusplus
     16#ifdef __cplusplus
    1717extern "C" {
    1818#endif
     
    292292 * @note This function never returns.
    293293 */
    294 void fatal_error(char *error_string) {
     294void fatal_error(const char *error_string) {
    295295
    296296        /*@ buffers ***************************************************** */
     
    16841684
    16851685
    1686 #if __cplusplus
     1686#ifdef __cplusplus
    16871687}                               /* extern "C" */
    16881688#endif
Note: See TracChangeset for help on using the changeset viewer.