This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
Systemd
Watch
1
Star
0
Fork
You've already forked Systemd
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
a74be22cd6
Systemd
/
src
/
core
/
loopback-setup.h
5 lines
89 B
C
Raw
Normal View
History
Unescape
Escape
license: LGPL-2.1+ -> LGPL-2.1-or-later
2020-11-09 05:23:58 +01:00
/* SPDX-License-Identifier: LGPL-2.1-or-later */
use #pragma once instead of foo*foo #define guards #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers
2012-07-18 19:07:51 +02:00
#
pragma once
loopback: configure lo device on bootup
2010-05-09 18:02:38 +02:00
int
loopback_setup
(
void
)
;
Reference in a new issue
Copy permalink