Changeset 3854 in MondoRescue


Ignore:
Timestamp:
Mar 6, 2024, 3:42:16 AM (3 months ago)
Author:
Bruno Cornec
Message:

Fix mr_popup_and_get_string proto

Location:
branches/3.3/mondo/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-files.c

    r3832 r3854  
    2828extern char err_log_lines[NOOF_ERR_LINES][MAX_STR_LEN];
    2929
    30 extern char *mr_popup_and_get_string(char *, char *, char *);
     30extern char *mr_popup_and_get_string(const char *, const char *, const char *);
    3131
    3232extern int g_currentY;
  • branches/3.3/mondo/src/common/newt-specific.c

    r3852 r3854  
    270270 * Kill any process containing the string @p str surrounded by spaces in its commandline.
    271271 */
    272 void kill_anything_like_this(char *str) {
     272void kill_anything_like_this(const char *str) {
    273273
    274274char *tmp = NULL;
     
    745745 * @return value needs to be freed up by caller
    746746 */
    747 char *mr_popup_and_get_string(char *title, char *b, char *input) {
     747char *mr_popup_and_get_string(const char *title, const char *b, const char *input) {
    748748
    749749    /*@ newt ************************************************************ */
  • branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c

    r3839 r3854  
    9090extern int mount_media();
    9191extern int set_tape_block_size_with_mt(long internal_tape_block_size);
    92 extern char *mr_popup_and_get_string(char *title, char *b, char *input);
    9392
    9493/**
  • branches/3.3/mondo/src/mondorestore/mondorestore.c

    r3836 r3854  
    2323
    2424extern void wait_until_software_raids_are_prepped(char *, int);
    25 extern char *mr_popup_and_get_string(char *, char *, char *);
    26 
    2725extern void twenty_seconds_til_yikes(void);
    2826
  • branches/3.3/mondo/src/mondorestore/mr-externs.h

    r3852 r3854  
    6262extern void popup_and_OK(char *);
    6363extern bool popup_and_get_string(char *, char *, char *, int);
     64extern char *mr_popup_and_get_string(const char *title, const char *b, const char *input);
    6465extern void setup_newt_stuff(void);
    6566extern void reset_bkpinfo();
Note: See TracChangeset for help on using the changeset viewer.