CVS commit: src/include
"Robert Elz" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: kre Date: Thu Feb 19 13:19:28 UTC 2026 Modified Files: src/include: string.h Log Message: Added "restrict" to args in declaration of strtok_r() The "restrict" was included in strtok_r() in C99 and POSIX Issue 6 (2001). (The same time it was added to strtok()). strtok_r() actually dates from Posix I5 (1995), not I6 (2001) as the guard on its definition states, but after all this time, clearly no-one cares about that. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/include/string.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.