From: eparis@redhat.com
To: selinux@tycho.nsa.gov
Cc: sds@tycho.nsa.gov, jmorris@namei.org, Eric Paris <eparis@redhat.com>
Subject: [PATCH 10/13] SELinux: hashtab.c whitespace, syntax, and static declaraction cleanups
Date: Fri, 18 Apr 2008 17:38:31 -0400 [thread overview]
Message-ID: <1208554714873-git-send-email-eparis@redhat.com> (raw)
In-Reply-To: <12085547141952-git-send-email-eparis@redhat.com>
From: Eric Paris <eparis@redhat.com>
This patch changes hashtab.c to fix whitespace and syntax issues. Things that
are fixed may include (does not not have to include)
whitespace at end of lines
spaces followed by tabs
spaces used instead of tabs
spacing around parenthesis
locateion of { around struct and else clauses
location of * in pointer declarations
removal of initialization of static data to keep it in the right section
useless {} in if statemetns
useless checking for NULL before kfree
fixing of the indentation depth of switch statements
and any number of other things I forgot to mention
Signed-off-by: Eric Paris <eparis@redhat.com>
---
security/selinux/ss/hashtab.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/selinux/ss/hashtab.c b/security/selinux/ss/hashtab.c
index 77b530c..2e7788e 100644
--- a/security/selinux/ss/hashtab.c
+++ b/security/selinux/ss/hashtab.c
@@ -9,8 +9,8 @@
#include "hashtab.h"
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)
{
struct hashtab *p;
u32 i;
--
1.5.2.1
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2008-04-18 21:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 21:38 [PATCH 01/13] SELinux: netif.c whitespace, syntax, and static declaraction cleanups eparis
2008-04-18 21:38 ` [PATCH 02/13] SELinux: netlabel.c " eparis
2008-04-18 21:38 ` [PATCH 03/13] SELinux: netlink.c " eparis
2008-04-18 21:38 ` [PATCH 04/13] SELinux: netnode.c " eparis
2008-04-18 21:38 ` [PATCH 05/13] SELinux: nlmsgtab.c " eparis
2008-04-18 21:38 ` [PATCH 06/13] SELinux: xfrm.c " eparis
2008-04-18 21:38 ` [PATCH 07/13] SELinux: avtab.c " eparis
2008-04-18 21:38 ` [PATCH 08/13] SELinux: conditional.c " eparis
2008-04-18 21:38 ` [PATCH 09/13] SELinux: ebitmap.c " eparis
2008-04-18 21:38 ` eparis [this message]
2008-04-18 21:38 ` [PATCH 11/13] SELinux: mls.c " eparis
2008-04-18 21:38 ` [PATCH 12/13] SELinux: services.c " eparis
2008-04-18 21:38 ` [PATCH 13/13] SELinux: sidtab.c " eparis
2008-04-21 12:26 ` [PATCH 01/13] SELinux: netif.c " Paul Moore
2008-04-21 12:55 ` Eric Paris
2008-04-21 13:10 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208554714873-git-send-email-eparis@redhat.com \
--to=eparis@redhat.com \
--cc=jmorris@namei.org \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.