Changeset 3413 in MondoRescue


Ignore:
Timestamp:
Aug 9, 2015, 6:15:26 AM (9 years ago)
Author:
Bruno Cornec
Message:

Fix remaining compilation warnings

Location:
branches/3.2/mondo/src/common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-cli.c

    r3380 r3413  
    4545extern pid_t g_main_pid;
    4646extern char *resolve_softlinks_to_get_to_actual_device_file(char *);
     47extern t_boot mr_boot_type(void);
    4748
    4849/* Do we use extended attributes and acl ?
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3398 r3413  
    5656extern void setup_tmpdir(char *path);
    5757extern void setup_scratchdir(char *path);
     58extern char *mr_popup_and_get_string(char *title, char *b, char *input);
    5859
    5960static char g_cdrw_drive_is_here[MAX_STR_LEN / 4] = "";
     
    21142115 * Return the type of boot of the system (UEFI, EFI or BIOS)
    21152116 */
    2116 t_boot mr_boot_type() {
     2117t_boot mr_boot_type(void) {
    21172118
    21182119    t_boot ret = BIOS;
  • branches/3.2/mondo/src/common/libmondo-string.c

    r3377 r3413  
    99#include "my-stuff.h"
    1010#include "mr_mem.h"
     11#include "mr_str.h"
    1112#include "mondostructures.h"
    1213#include "libmondo-string.h"
     
    9798    x = mid - len / 2;
    9899    for (i = 0; i < x; i++) {
    99         mr_strcat(out,' ');
     100        mr_strcat(out," ");
    100101    }
    101102    mr_strcat(out, scratch);
    102103    mr_free(scratch);
    103104    for (i = x + len ; i < width - 1; i++) {
    104             mr_strcat(out,' ');
     105            mr_strcat(out," ");
    105106        }
    106107    return(out);
  • branches/3.2/mondo/src/common/newt-specific.c

    r3377 r3413  
    3434
    3535extern struct s_bkpinfo *bkpinfo;
     36
     37extern char *mr_center_string(char *in, int width);
    3638
    3739/*@unused@*/
Note: See TracChangeset for help on using the changeset viewer.