[refcnt] Add ref_init() wrapper function
authorMichael Brown <mcb30@ipxe.org>
Tue, 15 Jun 2010 16:33:23 +0000 (17:33 +0100)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:22:19 +0000 (20:22 +0100)
commit84ecaf5fc24f3b75eb1a48377e44dc3784a82b8c
treea762d63f36cc95eb6fe68e8fcad4bddf2a99f1ea
parent216983c159ddc6a65ee5b1c2e46dd18ebc51418e
[refcnt] Add ref_init() wrapper function

Standardise on using ref_init() to initialise an embedded reference
count, to match the coding style used by other embedded objects.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
22 files changed:
src/core/downloader.c
src/core/hw.c
src/core/image.c
src/core/posix_io.c
src/core/resolv.c
src/drivers/block/srp.c
src/image/embedded.c
src/include/gpxe/refcnt.h
src/net/aoe.c
src/net/dhcppkt.c
src/net/infiniband/ib_cmrc.c
src/net/netdevice.c
src/net/tcp.c
src/net/tcp/ftp.c
src/net/tcp/http.c
src/net/tcp/iscsi.c
src/net/tls.c
src/net/udp.c
src/net/udp/dhcp.c
src/net/udp/dns.c
src/net/udp/slam.c
src/net/udp/tftp.c