Add barrier prototypes