shithub: opus

Download patch

ref: 22f7788ac1b5b7c646c93c2597374265a5a5fd8b
parent: 0ec93137dc4653e93fb2a0c3ccbea4b756684f70
author: Gregory Maxwell <[email protected]>
date: Fri Jul 20 08:08:29 EDT 2012

Replace a remaining instance of restrict with OPUS_RESTRICT.

The usage of restrict in include/opus_custom.h was missed
by the prior commit replacing this keyword with a macro.

--- a/include/opus_custom.h
+++ b/include/opus_custom.h
@@ -227,7 +227,7 @@
   * by a convenience macro.
   * @see opus_encoderctls
   */
-OPUS_CUSTOM_EXPORT int opus_custom_encoder_ctl(OpusCustomEncoder * restrict st, int request, ...) OPUS_ARG_NONNULL(1);
+OPUS_CUSTOM_EXPORT int opus_custom_encoder_ctl(OpusCustomEncoder * OPUS_RESTRICT st, int request, ...) OPUS_ARG_NONNULL(1);
 
 /* Decoder */