Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/sys



Module Name:    src
Committed By:   riastradh
Date:           Sat Apr  9 16:59:43 UTC 2016

Modified Files:
        src/sys/sys: condvar.h

Log Message:
Don't pollute <sys/condvar.h> with <sys/mutex.h>.

Instead, forward-declare struct kmutex, since we only need to
describe pointer types to it.

This breaks an include cycle on several architectures:

sys/cpu_data.h
-> sys/condvar.h
-> sys/mutex.h
-> sys/intr.h
-> machine/intr.h
-> machine/cpu.h
-> sys/cpu_data.h


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/sys/condvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index