Question: I just learned that inline functions can be defined in another function's body as well.

I'm using the mpicc compiler and the following code compiles successfully without warnings and errors:

```
#include <stdio.h>

int main() {
    inline int inlinetest(int x) {
        return x * 4;
    }

    printf("%d\n", inlinetest(8));
    return 0;
}

```

However, CLion shows the following errors within the file:

A the `{` bracket of `inlinetest`: Function definition is not allowed here

Where I try to call `inlinetest`: Implicit declaration of function 'inlinetest' is invalid in C99

I tried setting the `CMAKE_C_STANDARD` and `C_STANDARD` to 11, but this doesn't make a difference.

Is there a way to configure CMake or CLion itself, such that it doesn't detect this "error"?

Answer: 
The splice approach is right, but in the solution above, it returns the values for the header, and does not remove the header. What is needed to remove the header is to use the splice function and tell it to start in the second row and go until the end. This would look like this:

```js
var csvDataNoHeader = csvData.splice(1,csvData.length-1)

```

This tells the function to start at the second element of the array and select all elements after, the minus 1 accounts for the removing of the header.
So I understand that you are importing multiple csv where the header is repeating for each one. 

To get rid of it there are a lot of actions, I myself prefer to seperate the header of the actual data. You can do that by invoking the [`.shift()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift) into the array, and that would remove and return the first value of the array.

Call the `shift` method after parsing the csv.

```js
var csvData = Utilities.parseCsv(csvFile);
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();

var header = csvData.shift(); // Now the csvData don't have the header and you can
                              // still use the `header` variable if needed

// data to a sheet
sheet.getRange(sheet.getLastRow()+1, 1, csvData.length, csvData[0].length)
     .setValues(csvData);

```

I also changed the way you select the columns, unless your data is square N arrays of N elements, you will have problems. So better to take the columns as `csvData[0].length`.