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
2aed63f427
Systemd
/
src
/
core
/
locale-setup.h
5 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
Add SPDX license identifiers to source files under the LGPL This follows what the kernel is doing, c.f. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460.
2017-11-18 17:09:20 +01:00
/* SPDX-License-Identifier: LGPL-2.1+ */
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
locale: initialize locale from /etc/locale by default
2010-09-16 01:57:42 +02:00
rework systemd's own process environment handling/passing Stop importing non-sensical kernel-exported variables. All parameters in the kernel command line are exported to the initial environment of PID1, but suppressed if they are recognized by kernel built-in code. The EFI booted kernel will add further kernel-internal things which do not belong into userspace. The passed original environ data of the process is not touched and preserved across re-execution, to allow external reading of /proc/self/environ for process properties like container*=.
2013-07-26 05:22:22 +02:00
int
locale_setup
(
char
*
*
*
environment
)
;
Reference in a new issue
Copy permalink