Ignore restrict in the contexts where const and volatile is allowed.
commiteef2083a0db359b6f9e6b85c304a05f7850baf76
authorJoerg Sonnenberger <joerg@NetBSD.org>
Wed, 10 Dec 2008 16:12:39 +0000 (10 16:12 +0000)
committerJoerg Sonnenberger <joerg@NetBSD.org>
Wed, 10 Dec 2008 16:12:39 +0000 (10 16:12 +0000)
treec57a4c86eb2b562385e49b8c37a939c2049d36d2
parent794e0962f1c26a3aa41969d5ea61a7121356310d
Ignore restrict in the contexts where const and volatile is allowed.
No validation for the use (e.g. that it is used on a pointer), but
enough to not stop valid C99 programs.
usr.bin/xlint/lint1/lint1.h
usr.bin/xlint/lint1/scan.l