[gnome-keyring] Use #ifdef instead of #if to fix gcc warnings



commit 3947b281ba1e119cf108ff98f707738c90a9ee81
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Aug 25 15:12:11 2010 +0100

    Use #ifdef instead of #if to fix gcc warnings

 gp11/gp11-slot.c |    2 +-
 gp11/gp11.h      |   18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gp11/gp11-slot.c b/gp11/gp11-slot.c
index 2ca2af5..6849eb9 100644
--- a/gp11/gp11-slot.c
+++ b/gp11/gp11-slot.c
@@ -771,7 +771,7 @@ gp11_slot_has_flags (GP11Slot *self, gulong flags)
 	return (info.flags & flags) != 0;
 }
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 typedef struct InitToken {
 	GP11Arguments base;
diff --git a/gp11/gp11.h b/gp11/gp11.h
index b04d66e..6eaaa3e 100644
--- a/gp11/gp11.h
+++ b/gp11/gp11.h
@@ -461,7 +461,7 @@ GP11MechanismInfo*  gp11_slot_get_mechanism_info            (GP11Slot *self,
 gboolean            gp11_slot_has_flags                     (GP11Slot *self,
                                                              gulong flags);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 gboolean            gp11_slot_init_token                    (GP11Slot *self, 
                                                              const guchar *pin,
@@ -603,7 +603,7 @@ gboolean            gp11_session_set_pin_finish             (GP11Session *self,
                                                              GAsyncResult *result,
                                                              GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 guchar*             gp11_session_get_operation_state        (GP11Session *self,
                                                              gsize *n_result,
@@ -715,7 +715,7 @@ GList*              gp11_session_find_objects_finish        (GP11Session *self,
                                                              GAsyncResult *result,
                                                              GError **err); 
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 GP11Object*         gp11_session_generate_key               (GP11Session *self,
                                                              GP11Mechanism *mechanism,
@@ -821,7 +821,7 @@ guchar*             gp11_session_encrypt_finish              (GP11Session *self,
                                                               gsize *n_result,
                                                               GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 GP11Processor*      gp11_session_batch_encrypt               (GP11Session *self,
                                                               GP11Object *key,
@@ -874,7 +874,7 @@ guchar*             gp11_session_decrypt_finish              (GP11Session *self,
                                                               gsize *n_result,
                                                               GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 GP11Processor*      gp11_session_batch_decrypt               (GP11Session *self,
                                                               GP11Object *key,
@@ -1026,7 +1026,7 @@ guchar*             gp11_session_sign_finish                 (GP11Session *self,
                                                               gsize *n_result,
                                                               GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 GP11Processor*      gp11_session_batch_sign                  (GP11Session *self,
                                                               GP11Object *key,
@@ -1131,7 +1131,7 @@ gboolean            gp11_session_verify_finish               (GP11Session *self,
                                                               GAsyncResult *result,
                                                               GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 GkrProcessor*       gp11_session_batch_verify                (GP11Session *self,
                                                               GP11Object *key,
@@ -1358,7 +1358,7 @@ gboolean            gp11_object_destroy_finish              (GP11Object *self,
                                                              GAsyncResult *result,
                                                              GError **err);
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 gssize              gp11_object_get_size                    (GP11Object *self,
                                                              GError **err);
@@ -1484,7 +1484,7 @@ GP11Attributes*     gp11_object_get_template_finish         (GP11Object *self,
  * PROCESSOR
  */
 
-#if UNIMPLEMENTED
+#ifdef UNIMPLEMENTED
 
 guchar*             gp11_processor_step                    (GP11Processor *processor,
                                                             const guchar *input,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]