Source-Changes archive

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

CVS commit: src/sys/sys




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/sys

From: "Martin Husemann" <martin%netbsd.org@localhost>

Date: Tue, 21 Feb 2012 10:53:08 +0000


Module Name:    src
Committed By:   martin
Date:           Tue Feb 21 10:53:08 UTC 2012

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

Log Message:
There are some places where C99 allows a restrict modifier (and posix
demands it), but C++ does not allow it. So add a C only version of
__restrict, which expands to nothing if compiling C++.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347 for a discussion.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/sys/cdefs.h

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






Prev by Date: CVS commit: src/gnu/dist/groff/tmac

Next by Date: CVS commit: src/include

Previous by Thread: CVS commit: src/gnu/dist/groff/tmac

Next by Thread: CVS commit: src/include

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index