/[hurd]/hurd-l4/libhurd-cap-server/cap-server.h
ViewVC logotype

Diff of /hurd-l4/libhurd-cap-server/cap-server.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by marcus, Mon Nov 1 20:54:00 2004 UTC revision 1.13 by marcus, Mon Nov 1 20:57:42 2004 UTC
# Line 366  hurd_cap_obj_to_user_untyped (hurd_cap_o Line 366  hurd_cap_obj_to_user_untyped (hurd_cap_o
366  }  }
367    
368  #define hurd_cap_obj_to_user(type,obj)                                       \  #define hurd_cap_obj_to_user(type,obj)                                       \
369    ((type) hurd_cap_obj_to_user_untyped (obj, ({ type t; __alignof (*t); })))    ((type) hurd_cap_obj_to_user_untyped (obj, ({ type t; __alignof__ (*t); })))
370    
371    
372  /* Find the hurd cap object before the user object OBJ of the pointer  /* Find the hurd cap object before the user object OBJ of the pointer
# Line 386  hurd_cap_obj_from_user_untyped (void *ob Line 386  hurd_cap_obj_from_user_untyped (void *ob
386  }  }
387    
388  #define hurd_cap_obj_from_user(type,obj)                                     \  #define hurd_cap_obj_from_user(type,obj)                                     \
389    hurd_cap_obj_from_user_untyped (obj, ({ type t; __alignof (*t); }))    hurd_cap_obj_from_user_untyped (obj, ({ type t; __alignof__ (*t); }))
390    
391    
392  /* Inhibit all RPCs on the capability class CAP_CLASS (which must not  /* Inhibit all RPCs on the capability class CAP_CLASS (which must not

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26