Changeset f429331 in mainline for kernel/generic/include


Ignore:
Timestamp:
2007-01-21T18:52:11Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da1f9dc
Parents:
8dbc18c
Message:

remove some typedefs in favor of anonymous structures

Location:
kernel/generic/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cpu.h

    r8dbc18c rf429331  
    5353 * There is one structure like this for every processor.
    5454 */
    55 struct cpu {
     55typedef struct {
    5656        SPINLOCK_DECLARE(lock);
    5757
     
    9292         */
    9393        uint8_t *stack;
    94 };
     94} cpu_t;
    9595
    9696extern cpu_t *cpus;
  • kernel/generic/include/time/timeout.h

    r8dbc18c rf429331  
    3737
    3838#include <arch/types.h>
    39 #include <typedefs.h>
     39#include <cpu.h>
    4040#include <synch/spinlock.h>
    4141#include <adt/list.h>
  • kernel/generic/include/typedefs.h

    r8dbc18c rf429331  
    4848typedef unsigned long context_id_t;
    4949
    50 typedef struct cpu_info cpu_info_t;
    51 
    52 typedef struct cpu cpu_t;
    53 typedef struct cpu_arch cpu_arch_t;
    5450typedef struct task task_t;
    5551typedef enum state state_t;
Note: See TracChangeset for help on using the changeset viewer.