News for hackers. Stuff that matters.
Re:Beej's Guide to C Programming by teknopaul on Sunday February 26, 2023 @01:22PM (#34947880)
Re: "You can declare a function static if you only want it visible in a single source file."

Static means different things in different languages, and in C in different places.

In what sense is a static C function static/unmoveable? or a static / class variable static in Java?

I find a lot of programming language guides tell you what without a coherent why.

Re:Beej's Guide to C Programming by david2ndaccount on Sunday February 26, 2023 @03:16PM (#34948921)
It’s static as it will always resolve to the same function. An extern function depends on whatever you link against (or users link against if you provide a static library).