title: C Drop compiler error if init function wasn't called
body: <p>I would like to make something like a class in C and to notify the developer if the "class" wasn't initialized before using it's functions. It's easy to do while the code is running but it would be better during compile time.</p>
  
  <p>If I call the get_something() before init() I would like to drop an error during compile. Is it possible? </p>
  
  <pre><code>//something.c
  void init() {...}
  
  int get_something() {...}
  
  //main.c
  int main()
  {
  #include something.h
  
  get_something(); //pls drop compile error because wasn't initialized
  return 0;
  }
  </code></pre>