diff --git a/include/villas/fpga/vlnv.h b/include/villas/fpga/vlnv.h index 554968b74..918e3aa89 100644 --- a/include/villas/fpga/vlnv.h +++ b/include/villas/fpga/vlnv.h @@ -25,8 +25,7 @@ * @{ */ -#ifndef _FPGA_VLNV_H_ -#define _FPGA_VLNV_H_ +#pragma once /* Forward declarations */ struct list; @@ -48,6 +47,4 @@ int fpga_vlnv_cmp(struct fpga_vlnv *a, struct fpga_vlnv *b); int fpga_vlnv_parse(struct fpga_vlnv *c, const char *vlnv); /** Release memory allocated by fpga_vlnv_parse(). */ -int fpga_vlnv_destroy(struct fpga_vlnv *v); - -#endif /** _FPGA_VLNV_H_ @} */ \ No newline at end of file +int fpga_vlnv_destroy(struct fpga_vlnv *v); \ No newline at end of file diff --git a/include/villas/stats.h b/include/villas/stats.h index 0741d48b8..f8569c8ce 100644 --- a/include/villas/stats.h +++ b/include/villas/stats.h @@ -21,8 +21,7 @@ * along with this program. If not, see . *********************************************************************************/ -#ifndef _STATS_H_ -#define _STATS_H_ +#pragma once #include @@ -89,6 +88,4 @@ void stats_print(struct stats *s, FILE *f, enum stats_format fmt, int verbose); void stats_send(struct stats *s, struct node *n); -enum stats_id stats_lookup_id(const char *name); - -#endif /* _STATS_H_ */ +enum stats_id stats_lookup_id(const char *name); \ No newline at end of file