1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
systemd/tools
Zbigniew Jędrzejewski-Szmek cc3d85eb97 sd-bus: mark sd_bus_try_close() as deprecated
codesearch.debian.net shows no uses (except for the definition in systemd and
elogind).

$ cat > test.c

int main() {
  sd_bus_try_close(NULL);
  return 0;
}
$ gcc -Isrc/systemd -Wall -o testbus test.c -lsystemd
test.c: In function ‘main’:
test.c:4:3: warning: ‘sd_bus_try_close’ is deprecated [-Wdeprecated-declarations]
    4 |   sd_bus_try_close(NULL);
      |   ^~~~~~~~~~~~~~~~
In file included from test.c:1:
src/systemd/sd-bus.h:180:5: note: declared here
  180 | int sd_bus_try_close(sd_bus *bus) _sd_deprecated_; /* deprecated */
      |     ^~~~~~~~~~~~~~~~
2020-03-18 19:57:44 +01:00
..
chromiumos chromiumos: sync auto suspend rules with chromeos commit e348a229bacc3 2020-02-07 13:22:05 +09:00
add-git-hook.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
catalog-report.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00
check-directives.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
check-includes.pl
choose-default-locale.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
coverity.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
find-build-dir.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
find-double-newline.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
find-tabs.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
gdb-sd_dump_hashmaps.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00
generate-gperfs.py tools: add one more SPDX license header 2018-12-10 03:08:52 +09:00
make-autosuspend-rules.py trivial: rename chromeos to chromiumos 2019-10-07 08:58:13 +09:00
make-directive-index.py man: sort options without "=" in the directives index 2019-11-21 22:06:30 +01:00
make-man-index.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00
make-man-rules.py meson: update hint in man/rules/ 2019-07-19 07:09:34 +09:00
meson-apply-m4.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson-autosuspend-update.sh meson: add target to update the chromiumos rules 2019-11-15 11:36:59 +01:00
meson-build.sh meson: use same compilers to build fuzzers 2018-10-09 11:54:10 +02:00
meson-check-api-docs.sh sd-bus: mark sd_bus_try_close() as deprecated 2020-03-18 19:57:44 +01:00
meson-check-compilation.sh
meson-check-help.sh meson: catch programs which ignore arguments 2019-07-22 14:08:37 +02:00
meson-git-contrib.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson-hwdb-update.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson-make-symlink.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson-vcs-tag.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
oss-fuzz.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
xml_helper.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00