Skip to content

Instantly share code, notes, and snippets.

@kateolenya
Created March 14, 2019 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kateolenya/85e6dc76fac7d3c486b86af267a239e4 to your computer and use it in GitHub Desktop.
Save kateolenya/85e6dc76fac7d3c486b86af267a239e4 to your computer and use it in GitHub Desktop.
Private function in C using static
#ifndef PRIVATE_FUNCT_H
#define PRIVATE_FUNCT_H
struct Contact;
struct Contact * create_contact();
static void print_numbers( struct Contact * some_contact );
void delete_contact( struct Contact * my_points );
#endif /* PRIVATE_FUNCT_H */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment