Changeset 1364


Ignore:
Timestamp:
Apr 30, 2007, 1:22:57 AM (12 years ago)
Author:
bruno
Message:

Remove a useless strcture + fix some compile errors in mr_list

Location:
branches/stable/mondo/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/mondostructures.h

    r1362 r1364  
    633633    bool expanded;
    634634};
    635 
    636 
    637 
    638 /**
    639  * A structure to wrap a FIFO device for writing to a tape/CD stream.
    640  * @bug Is this structure used (w/the move to a standalone @c buffer and all)?
    641  */
    642 struct s_wrapfifo {
    643         /**
    644      * The device we write to or read from (a FIFO).
    645      */
    646     char public_device[MAX_STR_LEN / 4];
    647 
    648         /**
    649      * The actual device that data from the FIFO should be buffered and written to.
    650      */
    651     char private_device[MAX_STR_LEN / 4];
    652 
    653         /**
    654      * A buffer for holding data read from the FIFO.
    655      */
    656     char internal_buffer_IN_fifo[MAX_STR_LEN / 4];
    657 
    658         /**
    659      * A buffer for holding data to be written to the FIFO.
    660      */
    661     char internal_buffer_OUT_fifo[MAX_STR_LEN / 4];
    662 
    663         /**
    664      * If TRUE, then we're writing directly to the tape streamer; if FALSE, we're writing to the FIFO.
    665      */
    666     bool writing_to_private_device;
    667 };
    668 
    669635
    670636
     
    758724    struct s_filelist_entry el[ARBITRARY_MAXIMUM];
    759725};
    760 
    761 
    762 /**
    763  * An entry in the tape catalog.
    764  */
    765 struct s_tapecat_entry {
    766         /**
    767      * The type of archive it is (afioball, slice, or something else).
    768      */
    769     t_archtype type;
    770 
    771         /**
    772      * The filelist number or biggiefile (not slice!) number.
    773      */
    774     int number;
    775 
    776         /**
    777      * The slice number if it's a biggiefile.
    778      */
    779     long aux;
    780 
    781         /**
    782      * The tape position at the point this entry was added.
    783      */
    784     long long tape_posK;
    785 
    786         /**
    787      * The filename of the file cataloged here.
    788      */
    789     char fname[MAX_TAPECAT_FNAME_LEN + 1];
    790 };
  • branches/stable/mondo/src/lib/mr_list.c

    r1363 r1364  
    1010#include <time.h>
    1111
     12#include "mr_mem.h"
     13#include "mr_msg.h"
    1214#include "mr_list.h"
    1315
     
    185187        } else {
    186188            /* that elt is the first one */
    187             mr_list_del_elt_firt(list);
     189            mr_list_del_elt_first(list);
    188190        }
    189191    } else {
Note: See TracChangeset for help on using the changeset viewer.