SELinux: hashtab.h whitespace, syntax, and other cleanups
authorEric Paris <eparis@redhat.com>
Tue, 22 Apr 2008 21:46:14 +0000 (17:46 -0400)
committerJames Morris <jmorris@namei.org>
Sun, 27 Apr 2008 23:29:04 +0000 (09:29 +1000)
This patch changes hashtab.h to fix whitespace and syntax issues.  Things that
are fixed may include (does not not have to include)

spaces used instead of tabs

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/hashtab.h

index 7e2ff3e..953872c 100644 (file)
@@ -40,8 +40,8 @@ struct hashtab_info {
  * the new hash table otherwise.
  */
 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key),
-                               int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
-                               u32 size);
+                              int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
+                              u32 size);
 
 /*
  * Inserts the specified (key, datum) pair into the specified hash table.
@@ -49,7 +49,7 @@ struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *
  * Returns -ENOMEM on memory allocation error,
  * -EEXIST if there is already an entry with the same key,
  * -EINVAL for general errors or
* 0 otherwise.
+  0 otherwise.
  */
 int hashtab_insert(struct hashtab *h, void *k, void *d);