Hello there, I have a moderately sized source code, and it have a little bit of an issue,
I am currently working on android ROM building and the code is a part of it that needs to be compiled.
The issue is that the creator worked on it(I can’t contact them) have a weird way of defining functions in C
the define functions like this:
so as you can see, this is a problem.
i am using ATOM editor to work on my project(this, rom building)and I am trying to correct this silly pattern they have here.
What i thought of doing is searching the project for regex: "int$"
so it will give me a list of all the int with next line just after it. so i want to replace that “next line character” with a " "(space).
My question is, Can I do that in ATOM?
Or, if there’s any other way that some of you know of to fix this code?
if you might want to take a look at the code, it is present at github.com/SscSPs/android_vendor_marvell_generic
the part that is affected is under sd8787 folder in the project.
Please, someone help.