From: Joe Perches <joe@perches.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org,
Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Subject: [PATCH 09/12] caif_hsi.h: Remove extern from function prototypes
Date: Mon, 23 Sep 2013 11:37:40 -0700 [thread overview]
Message-ID: <40537362e8ba86fa727226ddfeb75c205c63ecaf.1379961014.git.joe@perches.com> (raw)
In-Reply-To: <445209f8885ccd8234fa787c30d63e63fc7917d7.1379961014.git.joe@perches.com>
There are a mix of function prototypes with and without extern
in the kernel sources. Standardize on not using extern for
function prototypes.
Function prototypes don't need to be written with extern.
extern is assumed by the compiler. Its use is as unnecessary as
using auto to declare automatic/local variables in a block.
Signed-off-by: Joe Perches <joe@perches.com>
---
include/net/caif/caif_hsi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h
index 4795e81..097f69c 100644
--- a/include/net/caif/caif_hsi.h
+++ b/include/net/caif/caif_hsi.h
@@ -195,6 +195,6 @@ enum ifla_caif_hsi {
__IFLA_CAIF_HSI_MAX
};
-extern struct cfhsi_ops *cfhsi_get_ops(void);
+struct cfhsi_ops *cfhsi_get_ops(void);
#endif /* CAIF_HSI_H_ */
--
1.8.1.2.459.gbcd45b4.dirty
next prev parent reply other threads:[~2013-09-23 18:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-23 18:33 [PATCH 01/12] tcp.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 02/12] udp.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 03/12] udplite.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 04/12] wext.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 05/12] wimax.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 06/12] x25.h: " Joe Perches
2013-09-23 18:33 ` [PATCH 07/12] xfrm.h: " Joe Perches
2013-09-23 18:37 ` [PATCH 08/12] bluetooth: " Joe Perches
2013-09-24 4:24 ` Marcel Holtmann
2013-09-23 18:37 ` Joe Perches [this message]
2013-09-23 18:37 ` [PATCH 10/12] irda: " Joe Perches
2013-09-23 18:37 ` [PATCH 11/12] netfilter: " Joe Perches
2013-09-28 19:17 ` Jan Engelhardt
2013-09-23 18:37 ` [PATCH 12/12] sctp: " Joe Perches
2013-09-23 19:11 ` Vlad Yasevich
2013-09-23 20:39 ` Neil Horman
2013-09-23 20:30 ` [PATCH 01/12] tcp.h: " David Miller
2013-09-23 20:44 ` Joe Perches
2013-09-23 20:45 ` David Miller
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=40537362e8ba86fa727226ddfeb75c205c63ecaf.1379961014.git.joe@perches.com \
--to=joe@perches.com \
--cc=davem@davemloft.net \
--cc=dmitry.tarnyagin@lockless.no \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®