Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c97e6f9f authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Fix build on Linux due to different strrchr prototype."

parents 1d7ac969 ab841350
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ static void usage() {
}

static FileType getFileType(const char* filename) {
    char *extension = strrchr(filename, '.');
    const char *extension = strrchr(filename, '.');
    if (extension) {
        if (strcmp(extension, ".kl") == 0) {
            return FILETYPE_KEYLAYOUT;