]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/um/util/mk_task_user.c
3 void print(char *name
, char *type
, int offset
)
5 printf("#define %s(task) *((%s *) &(((char *) (task))[%d]))\n", name
, type
,
9 void print_ptr(char *name
, char *type
, int offset
)
11 printf("#define %s(task) ((%s *) &(((char *) (task))[%d]))\n", name
, type
,
18 printf(" * Generated by mk_task\n");
21 printf("#ifndef __TASK_H\n");
22 printf("#define __TASK_H\n");