diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-11-27 17:43:41 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-11-27 17:43:41 +0100 |
commit | 793b5905770acb2af34f6b10b2a9ed49cb477834 (patch) | |
tree | c5cc0cd4318a27ca0d4acd1c91ab9f3c0610a931 /libnetfs/io-get-openmodes.c | |
parent | 58f8da3300c9ffcd7f9b5773ce2a5b9110a4c207 (diff) | |
download | hurd-793b5905770acb2af34f6b10b2a9ed49cb477834.tar.gz hurd-793b5905770acb2af34f6b10b2a9ed49cb477834.tar.bz2 hurd-793b5905770acb2af34f6b10b2a9ed49cb477834.zip |
refcount: Fix usage in c++
g++ still doens't support non-trivial named initializers (sigh)
* libshouldbeinlibc/refcount.h (REFCOUNT_REFERENCES): New macro.
(refcounts_init, refcounts_unsafe_ref, refcounts_deref,
refcounts_promote, refcounts_demote, refcounts_unsafe_ref_weak,
refcounts_deref_weak): Use REFCOUNT_REFERENCES instead of explicit
initializer.
Diffstat (limited to 'libnetfs/io-get-openmodes.c')
0 files changed, 0 insertions, 0 deletions