Systemd/src/journal-remote
Lennart Poettering 8e766630f0 tree-wide: drop redundant _cleanup_ macros (#8810)
This drops a good number of type-specific _cleanup_ macros, and patches
all users to just use the generic ones.

In most recent code we abstained from defining type-specific macros, and
this basically removes all those added already, with the exception of
the really low-level ones.

Having explicit macros for this is not too useful, as the expression
without the extra macro is generally just 2ch wider. We should generally
emphesize generic code, unless there are really good reasons for
specific code, hence let's follow this in this case too.

Note that _cleanup_free_ and similar really low-level, libc'ish, Linux
API'ish macros continue to be defined, only the really high-level OO
ones are dropped. From now on this should really be the rule: for really
low-level stuff, such as memory allocation, fd handling and so one, go
ahead and define explicit per-type macros, but for high-level, specific
program code, just use the generic _cleanup_() macro directly, in order
to keep things simple and as readable as possible for the uninitiated.

Note that before this patch some of the APIs (notable libudev ones) were
already used with the high-level macros at some places and with the
generic _cleanup_ macro at others. With this patch we hence unify on the
latter.
2018-04-25 12:31:45 +02:00
..
browse.html tree-wide: minor formatting inconsistency cleanups 2016-02-23 14:20:34 -08:00
journal-gatewayd.c tree-wide: drop spurious newlines (#8764) 2018-04-19 12:13:23 +02:00
journal-remote-parse.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
journal-remote-parse.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
journal-remote-write.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
journal-remote-write.h tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
journal-remote.c tree-wide: drop redundant _cleanup_ macros (#8810) 2018-04-25 12:31:45 +02:00
journal-remote.conf.in Add Seal option in the configuration file for journald-remote 2015-12-20 13:23:33 +01:00
journal-remote.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
journal-upload-journal.c tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
journal-upload.c tree-wide: drop spurious newlines (#8764) 2018-04-19 12:13:23 +02:00
journal-upload.conf.in journal-upload: add config file 2014-07-15 22:34:41 -04:00
journal-upload.h journal-upload: make watchdog state non-static 2016-04-05 20:28:56 -04:00
log-generator.py more portable python shebangs (#5816) 2017-04-30 20:26:56 -04:00
meson.build tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
microhttpd-util.c tree-wide: drop spurious newlines (#8764) 2018-04-19 12:13:23 +02:00
microhttpd-util.h tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00