1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

replace last occurences of #ifndefs with #pragma once

This commit is contained in:
Steffen Vogel 2017-06-17 01:14:05 +02:00
parent 1db4857c16
commit 2b583c8196
2 changed files with 4 additions and 10 deletions

View file

@ -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_ @} */
int fpga_vlnv_destroy(struct fpga_vlnv *v);

View file

@ -21,8 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/
#ifndef _STATS_H_
#define _STATS_H_
#pragma once
#include <stdint.h>
@ -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);