gcc complains about typedefs for the same struct twice

This commit is contained in:
Enno Rehling 2011-02-24 08:29:48 +01:00
parent 0c2ccf2d20
commit 372908a9af
1 changed files with 2 additions and 2 deletions

View File

@ -22,11 +22,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define QL_MAXSIZE 14 /* total struct is 64 bytes */
#define QL_LIMIT 8
typedef struct quicklist {
struct quicklist {
struct quicklist * next;
int num_elements;
void * elements[QL_MAXSIZE];
} quicklist;
};
void * ql_get(quicklist * ql, int index) {