void transform (record -&w matrix[][], int width, height)
{
  ulong scan_row (int row, int col)                        
  {
    int width = ...                                                            /*  "variable name is already in use" */

    ...

  }

  ...

}