]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Minor cleanups
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 16 Mar 2018 20:46:01 +0000 (20:46 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 16 Mar 2018 20:46:01 +0000 (20:46 +0000)
src/include/dict.h

index c26e52999edb1eacbae59fd86abc13fd55354c6d..d9fe567de8ce97a285b573f56168b12bfe6b9c60 100644 (file)
@@ -50,13 +50,13 @@ extern "C" {
 
 /** Values of the encryption flags
  */
-typedef struct attr_flags {
+typedef struct {
        unsigned int            is_root : 1;                    //!< Is root of a dictionary.
        unsigned int            is_unknown : 1;                 //!< Attribute number or vendor is unknown.
        unsigned int            is_raw : 1;                     //!< raw attribute, unknown or malformed
 
        unsigned int            internal : 1;                   //!< Internal attribute, should not be received
-                                                               //!< in protocol packets, should not be encoded.
+                                                               ///< in protocol packets, should not be encoded.
        unsigned int            has_tag : 1;                    //!< Tagged attribute.
        unsigned int            array : 1;                      //!< Pack multiples into 1 attr.
        unsigned int            has_value : 1;                  //!< Has a value.
@@ -104,7 +104,7 @@ struct dict_attr {
  *
  * Maps one of more string values to integers and vice versa.
  */
-typedef struct dict_enum {
+typedef struct {
        fr_dict_attr_t const    *da;                            //!< Dictionary attribute enum is associated with.
        char const              *alias;                         //!< Enum name.
        fr_value_box_t const    *value;                         //!< Enum value (what name maps to).
@@ -117,7 +117,7 @@ typedef struct dict_enum {
  * The width of the private enterprise number must be the same for all protocols
  * so we can represent a vendor with a single struct.
  */
-typedef struct dict_vendor {
+typedef struct {
        unsigned int            vendorpec;                      //!< Private enterprise number.
        size_t                  type;                           //!< Length of type data
        size_t                  length;                         //!< Length of length data