Use #pragma once

#pragma once is safer and simpler. According to Wikipedia it's supported by all major compilers.
This commit is contained in:
Alexander Kedrik
2013-12-29 06:11:50 +04:00
committed by Michael Stapelberg
parent 67b213665b
commit e2ebe3e2ae
64 changed files with 64 additions and 254 deletions

View File

@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#ifndef foosddaemonhfoo
#define foosddaemonhfoo
#pragma once
/***
Copyright 2010 Lennart Poettering
@ -261,5 +260,3 @@ int sd_booted(void) _sd_hidden_;
#ifdef __cplusplus
}
#endif
#endif