|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
Re: [Xen-devel] __function API 
| 
Hollis Blanchard wrote:
 Technically, no identifiers should ever begin with a '__' prefix.  This 
prefix is reserved for any use by the C standard (section 7.1.3) and is 
commonly used to generate temporaries by compilers.
[resending to the still-active list]
I have a question about function naming conventions in headers. I've been 
assuming that the __ prefix means "internal", i.e. not really part of the 
exported API of a header. But I see code like this in 
include/asm-x86/shadow.h:
 
Xen does use '__' frequently as a prefix.  I'm not sure it's worth 
removing.  It's probably best to avoid doing this in new code though. 
Regards,
Anthony Liguori
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
 | 
 |  | 
  
    |  |  |