C1023: 'near' used in illegal context

[ERROR]

Description

far, rom or uni has been specified for an array parameter where it is not legal to use it. In ANSI C, passing an array to a function always means passing a pointer to the array, because it is not possible to pass an array by value. To indicate that the pointer is a non-standard pointer, non-standard keywords as near or far may be specified if supported.

Example
  void foo(int near a) {}; // error

  
  void foo(ARRAY near ap) {} // ok: passing a near pointer

  
Tips

Remove the illegal modifier.