Changeset b3f8fb7 in mainline for kernel/generic/include/adt/list.h


Ignore:
Timestamp:
2007-01-28T13:25:49Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e8c1a5
Parents:
1ba41c5
Message:

huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/list.h

    r1ba41c5 rb3f8fb7  
    3737
    3838#include <arch/types.h>
    39 #include <typedefs.h>
    4039
    4140/** Doubly linked list head and link type. */
    42 struct link {
    43         link_t *prev;   /**< Pointer to the previous item in the list. */
    44         link_t *next;   /**< Pointer to the next item in the list. */
    45 };
     41typedef struct link {
     42        struct link *prev;      /**< Pointer to the previous item in the list. */
     43        struct link *next;      /**< Pointer to the next item in the list. */
     44} link_t;
    4645
    4746/** Declare and initialize statically allocated list.
Note: See TracChangeset for help on using the changeset viewer.