[glib-networking] gnutls: Reorder ‘static ’ and ‘const’ attributes
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] gnutls: Reorder ‘static ’ and ‘const’ attributes
- Date: Tue, 23 Sep 2014 06:54:20 +0000 (UTC)
commit c3e65925c18fe4c3b616372c44f67c6716759353
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Sep 17 13:05:29 2014 +0100
gnutls: Reorder ‘static’ and ‘const’ attributes
gcc prefers them this way round — the other way round is old-style.
https://bugzilla.gnome.org/show_bug.cgi?id=736809
tls/gnutls/gtlsdatabase-gnutls-pkcs11.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tls/gnutls/gtlsdatabase-gnutls-pkcs11.c b/tls/gnutls/gtlsdatabase-gnutls-pkcs11.c
index bc15709..354ad2b 100644
--- a/tls/gnutls/gtlsdatabase-gnutls-pkcs11.c
+++ b/tls/gnutls/gtlsdatabase-gnutls-pkcs11.c
@@ -37,11 +37,11 @@
#include "pkcs11/gpkcs11util.h"
#include "pkcs11/pkcs11-trust-assertions.h"
-const static CK_ATTRIBUTE_TYPE CERTIFICATE_ATTRIBUTE_TYPES[] = {
+static const CK_ATTRIBUTE_TYPE CERTIFICATE_ATTRIBUTE_TYPES[] = {
CKA_ID, CKA_LABEL, CKA_CLASS, CKA_VALUE
};
-const static CK_ATTRIBUTE_TYPE KEY_ATTRIBUTE_TYPES[] = {
+static const CK_ATTRIBUTE_TYPE KEY_ATTRIBUTE_TYPES[] = {
CKA_ID, CKA_LABEL, CKA_CLASS, CKA_KEY_TYPE
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]