]> sourceware.org Git - newlib-cygwin.git/commit
Make the <sys/queue.h> fully usable within C++
authorhselasky <hselasky@FreeBSD.org>
Tue, 4 Apr 2017 10:00:27 +0000 (12:00 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 4 Apr 2017 10:16:05 +0000 (12:16 +0200)
commit218c5e7d7264f1ed532d64d1932104fd8864b962
tree7a15ac66c695e344347dc6422f390ed2433eb1c8
parent73603c98aa6f52ebedc539289c30c03f3b8f7093
Make the <sys/queue.h> fully usable within C++

Make the system queue header file fully usable within C++ programs by
adding macros to define class lists.

This change is backwards compatible for all use within C and C++
programs. Only C++ programs will have added support to use the queue
macros within classes. Previously the queue macros could only be used
within structures.

The queue.3 manual page has been updated to describe the new
functionality and some alphabetic sorting has been done while
at it.

Differential Revision: https://reviews.freebsd.org/D2745
PR: 200827 (exp-run)
MFC after: 2 weeks
newlib/libc/include/sys/queue.h
This page took 0.030799 seconds and 5 git commands to generate.