Changeset 0ecfc62 in mainline for uspace/lib/label


Ignore:
Timestamp:
2015-10-09T18:11:08Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a43785
Parents:
372df8f
Message:

Information structures need updating to new model.

Location:
uspace/lib/label
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/label/include/types/liblabel.h

    r372df8f r0ecfc62  
    6565
    6666struct label_info {
    67         /** Disk contents */
    68         label_disk_cnt_t dcnt;
    6967        /** Label type */
    7068        label_type_t ltype;
  • uspace/lib/label/src/dummy.c

    r372df8f r0ecfc62  
    157157{
    158158        memset(linfo, 0, sizeof(label_info_t));
    159         linfo->dcnt = dc_label;
    160159        linfo->ltype = lt_none;
    161160        linfo->flags = 0;
  • uspace/lib/label/src/gpt.c

    r372df8f r0ecfc62  
    547547{
    548548        memset(linfo, 0, sizeof(label_info_t));
    549         linfo->dcnt = dc_label;
    550549        linfo->ltype = lt_gpt;
    551550        linfo->flags = lf_ptype_uuid; /* Partition type is in UUID format */
  • uspace/lib/label/src/mbr.c

    r372df8f r0ecfc62  
    402402{
    403403        memset(linfo, 0, sizeof(label_info_t));
    404         linfo->dcnt = dc_label;
    405404        linfo->ltype = lt_mbr;
    406405
Note: See TracChangeset for help on using the changeset viewer.