diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-23 19:09:51 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-01 11:28:15 +0100 |
commit | 0d3b80f04a1caee51b9995c9626838f85295bb06 (patch) | |
tree | 232a7cf64cd052d1f86ff0bfcc0292a17a7050ae /libshouldbeinlibc/Makefile | |
parent | 40d433fd1ca3aedac58a281f982725bfa9f77997 (diff) |
libshouldbeinlibc: move the reference counting primitives here
Declare all functions `extern inline' instead of `static inline'.
This allows us to use them in functions declared as `extern inline'.
* libshouldbeinlibc/refcount.h: Move here, and declare all functions
`extern inline'.
* libshouldbeinlibc/refcount.c: And define the functions here.
* libshouldbeinlibc/Makefile: Add `refcount.{c,h}'.
Diffstat (limited to 'libshouldbeinlibc/Makefile')
-rw-r--r-- | libshouldbeinlibc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libshouldbeinlibc/Makefile b/libshouldbeinlibc/Makefile index 14a7939d..633d60eb 100644 --- a/libshouldbeinlibc/Makefile +++ b/libshouldbeinlibc/Makefile @@ -27,9 +27,13 @@ SRCS = termsize.c timefmt.c exec-reauth.c maptime-funcs.c \ idvec-impgids.c idvec-verify.c idvec-rep.c \ ugids.c ugids-argp.c ugids-rep.c ugids-verify.c ugids-subtract.c \ ugids-auth.c ugids-xinl.c ugids-merge.c ugids-imply.c ugids-posix.c \ - ugids-verify-auth.c nullauth.c + ugids-verify-auth.c nullauth.c \ + refcount.c \ + installhdrs = idvec.h timefmt.h maptime.h \ - wire.h portinfo.h portxlate.h cacheq.h ugids.h nullauth.h + wire.h portinfo.h portxlate.h cacheq.h ugids.h nullauth.h \ + refcount.h \ + installhdrsubdir = . OBJS = $(SRCS:.c=.o) |