forked from github/server
gcc complains about typedefs for the same struct twice
This commit is contained in:
parent
0c2ccf2d20
commit
372908a9af
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue