• D
    Fix many mistakes & inconsistencies in header file layout · 4cfd7090
    Daniel P. Berrangé 提交于
    This introduces a syntax-check script that validates header files use a
    common layout:
    
      /*
       ...copyright header...
       */
      <one blank line>
      #ifndef SYMBOL
      # define SYMBOL
      ....content....
      #endif /* SYMBOL */
    
    For any file ending priv.h, before the #ifndef, we will require a
    guard to prevent bogus imports:
    
      #ifndef SYMBOL_ALLOW
      # error ....
      #endif /* SYMBOL_ALLOW */
      <one blank line>
    
    The many mistakes this script identifies are then fixed.
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    4cfd7090
virgettext.h 881 字节