summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/refcnt.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 23:02:45 +0200
committerMichael Brown2007-07-08 23:02:45 +0200
commited20fee0cfc5863b308d22abc17a7dbb4327c90f (patch)
treefb8e1e681415d19cfa127fb8a46f4664c862210c /src/include/gpxe/refcnt.h
parentLimit xmit window to one MTU. (Path MTU discovery not yet (diff)
downloadipxe-ed20fee0cfc5863b308d22abc17a7dbb4327c90f.tar.gz
ipxe-ed20fee0cfc5863b308d22abc17a7dbb4327c90f.tar.xz
ipxe-ed20fee0cfc5863b308d22abc17a7dbb4327c90f.zip
Make ref_get() return the reference, for cleaner code.
Diffstat (limited to 'src/include/gpxe/refcnt.h')
-rw-r--r--src/include/gpxe/refcnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gpxe/refcnt.h b/src/include/gpxe/refcnt.h
index 0930a5777..68e0fd4b0 100644
--- a/src/include/gpxe/refcnt.h
+++ b/src/include/gpxe/refcnt.h
@@ -38,7 +38,7 @@ struct refcnt {
void ( * free ) ( struct refcnt *refcnt );
};
-extern void ref_get ( struct refcnt *refcnt );
+extern struct refcnt * ref_get ( struct refcnt *refcnt );
extern void ref_put ( struct refcnt *refcnt );
#endif /* _GPXE_REFCNT_H */