typedef struct { int value; } mystruct; typedef const mystruct *const p_mystruct; extern p_mystruct valptr; void foo(void); void bar(void);