* Changing function declaration and definition syntax
@ 2023-04-28 21:10 Phrunsys Emmason
0 siblings, 0 replies; only message in thread
From: Phrunsys Emmason @ 2023-04-28 21:10 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
Hello Im new to gcc I would love to try out by changing the function
declaration and syntax for C. Initially the syntax is:
Declaration:
int foo (int a, int b);
Definition:
int foo (int a, int b) {
return a + b;
}
I want it to be:
foo (int a, int b) int;
foo (int a, int b) int {
return a + b;
}
What files do I have to modify and their respective functions? I am using
gcc 13.0.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-28 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 21:10 Changing function declaration and definition syntax Phrunsys Emmason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).