[gimp] app: make gimp-atomic parameters volatile
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: make gimp-atomic parameters volatile
- Date: Tue, 15 May 2018 16:58:57 +0000 (UTC)
commit 5c7064fb9ff3c56c2b6c9164d58ac9c50e668bfc
Author: Ell <ell_se yahoo com>
Date: Tue May 15 12:57:45 2018 -0400
app: make gimp-atomic parameters volatile
app/core/gimp-atomic.c | 6 +++---
app/core/gimp-atomic.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimp-atomic.c b/app/core/gimp-atomic.c
index 85aa424..804be07 100644
--- a/app/core/gimp-atomic.c
+++ b/app/core/gimp-atomic.c
@@ -35,8 +35,8 @@ static GSList gimp_atomic_slist_sentinel;
void
-gimp_atomic_slist_push_head (GSList **list,
- gpointer data)
+gimp_atomic_slist_push_head (GSList * volatile *list,
+ gpointer data)
{
GSList *old_head;
GSList *new_head;
@@ -61,7 +61,7 @@ gimp_atomic_slist_push_head (GSList **list,
}
gpointer
-gimp_atomic_slist_pop_head (GSList **list)
+gimp_atomic_slist_pop_head (GSList * volatile *list)
{
GSList *old_head;
GSList *new_head;
diff --git a/app/core/gimp-atomic.h b/app/core/gimp-atomic.h
index fa7306f..88d9eb5 100644
--- a/app/core/gimp-atomic.h
+++ b/app/core/gimp-atomic.h
@@ -24,9 +24,9 @@
/* GSList */
-void gimp_atomic_slist_push_head (GSList **list,
- gpointer data);
-gpointer gimp_atomic_slist_pop_head (GSList **list);
+void gimp_atomic_slist_push_head (GSList * volatile *list,
+ gpointer data);
+gpointer gimp_atomic_slist_pop_head (GSList * volatile *list);
#endif /* __GIMP_ATOMIC_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]