Skip to content

Commit

Permalink
md-scheduler: do not typedef RmMDSDevice in the .c file (fine in rece…
Browse files Browse the repository at this point in the history
…nt compiler version, but broken in ancient ones)
  • Loading branch information
sahib committed Oct 18, 2016
1 parent a3f9082 commit c29f420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/md-scheduler.c
Expand Up @@ -81,7 +81,7 @@ struct _RmMDS {
gpointer user_data;
};

typedef struct _RmMDSDevice {
struct _RmMDSDevice {
/* Structure containing data associated with one Device worker thread */

/* The RmMDS session parent */
Expand Down Expand Up @@ -113,7 +113,7 @@ typedef struct _RmMDSDevice {
/* is disk rotational? */
gboolean is_rotational;

} RmMDSDevice;
};

//////////////////////////////////////////////
// Internal Structure Init's & Destroyers //
Expand Down

0 comments on commit c29f420

Please sign in to comment.