Fix typos, comments in <pthread.h>
Andreas Jaeger
aj@suse.de
Thu Dec 30 09:35:00 GMT 1999
>>>>> Ulrich Drepper writes:
> Andreas Jaeger <aj@suse.de> writes:
>> The problem is that those __pthread functions are exported via
>> linuxthreads/sysdeps/pthread/bits/libc-lock.h and malloc/thread-m.h.
>> We could move those to a common include file but I don't see directly
>> an elegant way.
> Outside the linuxthreads directory they are used only in libc-lock.h.
> I don't really know what the best thing to do is which is why this
> problem persists.
>> Shouldn't we move the declarations to libc-lock.h and only install
>> libc-lock.h for those systems that need it?
> Seems to be ok.
OK, here's a patch to not install libc-lock.h. Looking at dirstream.h
which seems to be the only header file that uses <bits/libc-lock.h>,
it seems that it's not installed on any system - there's no need to
install <bits/libc-lock.h> on any system. Hurd developers, could you
double check this, please?.
1999-12-30 Andreas Jaeger <aj@suse.de>
* Makefile (headers): Remove bits/libc-lock.h since it's not
needed as external header.
============================================================
Index: Makefile
--- Makefile 1999/12/04 17:37:59 1.190
+++ Makefile 1999/12/30 17:25:02
@@ -61,7 +61,7 @@
$(addprefix install-, no-libc.a bin lib data headers others)
headers := errno.h sys/errno.h bits/errno.h limits.h values.h \
- features.h gnu-versions.h bits/libc-lock.h bits/xopen_lim.h \
+ features.h gnu-versions.h bits/xopen_lim.h \
gnu/libc-version.h
echo-headers: subdir_echo-headers
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list