summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2022-10-09 16:38:49 +0300
committerGitHub <noreply@github.com>2022-10-09 16:38:49 +0300
commitccfbdb5c3d253a391cab0561dfc8a524b93d2e7c (patch)
treecf5e43618e40801db736604e5c8d4c4e6c0f9f65
parent284d5450ec938b667db9985aca6d3cd02b96487f (diff)
Remove extern from function declared in headers. (#13790)
By default functions are declared as extern in C/C++ headers. The goal of this PR is to reduce the wall of text that many headers have and, more importantly, to make the declaration of extern'd variables - of which we have many dispersed in various places - easily and quickly identifiable. Automatically generated with: $ git grep -l '^extern.*(' '**.h' | \ grep -v libjudy | \ grep -v 'sqlite3.h' | \ xargs sed -i -e 's/extern \(.*(.*$\)/\1/' This is a NFC.
-rw-r--r--collectors/ebpf.plugin/ebpf.h54
-rw-r--r--collectors/ebpf.plugin/ebpf_apps.h20
-rw-r--r--collectors/ebpf.plugin/ebpf_cachestat.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_cgroup.h8
-rw-r--r--collectors/ebpf.plugin/ebpf_dcstat.h4
-rw-r--r--collectors/ebpf.plugin/ebpf_disk.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_fd.h4
-rw-r--r--collectors/ebpf.plugin/ebpf_filesystem.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_hardirq.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_mdflush.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_mount.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_oomkill.h4
-rw-r--r--collectors/ebpf.plugin/ebpf_shm.h4
-rw-r--r--collectors/ebpf.plugin/ebpf_socket.h10
-rw-r--r--collectors/ebpf.plugin/ebpf_softirq.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_swap.h4
-rw-r--r--collectors/ebpf.plugin/ebpf_sync.h2
-rw-r--r--collectors/ebpf.plugin/ebpf_vfs.h4
-rw-r--r--collectors/freebsd.plugin/plugin_freebsd.h70
-rw-r--r--collectors/macos.plugin/plugin_macos.h6
-rw-r--r--collectors/plugins.d/plugins_d.h4
-rw-r--r--collectors/plugins.d/pluginsd_parser.h26
-rw-r--r--collectors/proc.plugin/plugin_proc.h78
-rw-r--r--collectors/proc.plugin/proc_pressure.h2
-rw-r--r--collectors/proc.plugin/proc_self_mountinfo.h10
-rw-r--r--daemon/analytics.h24
-rw-r--r--daemon/buildinfo.h8
-rw-r--r--daemon/commands.h4
-rw-r--r--daemon/daemon.h10
-rw-r--r--daemon/global_statistics.h12
-rw-r--r--daemon/main.h8
-rw-r--r--daemon/signals.h12
-rw-r--r--daemon/unit_test.h22
-rw-r--r--database/engine/datafile.h22
-rw-r--r--database/engine/journalfile.h20
-rw-r--r--database/engine/metadata_log/compaction.h2
-rw-r--r--database/engine/metadata_log/logfile.h10
-rw-r--r--database/engine/metadata_log/metadatalogapi.h6
-rw-r--r--database/engine/metadata_log/metalogpluginsd.h16
-rw-r--r--database/engine/pagecache.h64
-rw-r--r--database/engine/rrdengine.h18
-rw-r--r--database/engine/rrdengineapi.h54
-rw-r--r--database/engine/rrdenginelib.h14
-rw-r--r--database/engine/rrdenglocking.h10
-rw-r--r--database/ram/rrddim_mem.h26
-rw-r--r--database/rrd.h222
-rw-r--r--database/rrdcalc.h32
-rw-r--r--database/rrdcalctemplate.h18
-rw-r--r--database/rrdcontext.h48
-rw-r--r--database/rrddimvar.h10
-rw-r--r--database/rrdfunctions.h28
-rw-r--r--database/rrdsetvar.h20
-rw-r--r--database/rrdvar.h30
-rw-r--r--database/sqlite/sqlite_aclk.h6
-rw-r--r--database/sqlite/sqlite_aclk_alert.h2
-rw-r--r--database/sqlite/sqlite_context.h20
-rw-r--r--database/sqlite/sqlite_functions.h78
-rw-r--r--database/sqlite/sqlite_health.h16
-rw-r--r--database/storage_engine.h8
-rw-r--r--exporting/exporting_engine.h4
-rw-r--r--exporting/prometheus/prometheus.h6
-rw-r--r--exporting/prometheus/remote_write/remote_write.h2
-rw-r--r--health/health.h40
-rw-r--r--libnetdata/adaptive_resortable_list/adaptive_resortable_list.h16
-rw-r--r--libnetdata/arrayalloc/arrayalloc.h6
-rw-r--r--libnetdata/buffer/buffer.h44
-rw-r--r--libnetdata/circular_buffer/circular_buffer.h14
-rw-r--r--libnetdata/clocks/clocks.h54
-rw-r--r--libnetdata/config/appconfig.h54
-rw-r--r--libnetdata/dictionary/dictionary.h72
-rw-r--r--libnetdata/ebpf/ebpf.h56
-rw-r--r--libnetdata/eval/eval.h10
-rw-r--r--libnetdata/health/health.h10
-rw-r--r--libnetdata/libnetdata.h82
-rw-r--r--libnetdata/locks/locks.h58
-rw-r--r--libnetdata/log/log.h20
-rw-r--r--libnetdata/onewayalloc/onewayalloc.h16
-rw-r--r--libnetdata/os.h16
-rw-r--r--libnetdata/popen/popen.h22
-rw-r--r--libnetdata/procfile/procfile.h16
-rw-r--r--libnetdata/simple_pattern/simple_pattern.h12
-rw-r--r--libnetdata/socket/security.h2
-rw-r--r--libnetdata/socket/socket.h56
-rw-r--r--libnetdata/statistical/statistical.h30
-rw-r--r--libnetdata/string/string.h16
-rw-r--r--libnetdata/threads/threads.h24
-rw-r--r--libnetdata/url/url.h18
-rw-r--r--libnetdata/worker_utilization/worker_utilization.h16
-rw-r--r--ml/ml.h2
-rw-r--r--parser/parser.h36
-rw-r--r--registry/registry.h26
-rw-r--r--registry/registry_internals.h22
-rw-r--r--registry/registry_machine.h10
-rw-r--r--registry/registry_person.h20
-rw-r--r--registry/registry_url.h12
-rw-r--r--streaming/rrdpush.h46
-rw-r--r--web/api/badges/web_buffer_svg.h6
-rw-r--r--web/api/exporters/allmetrics.h2
-rw-r--r--web/api/exporters/shell/allmetrics_shell.h4
-rw-r--r--web/api/formatters/charts2json.h6
-rw-r--r--web/api/formatters/csv/csv.h2
-rw-r--r--web/api/formatters/json/json.h2
-rw-r--r--web/api/formatters/json_wrapper.h6
-rw-r--r--web/api/formatters/rrd2json.h14
-rw-r--r--web/api/formatters/rrdset2json.h2
-rw-r--r--web/api/formatters/ssv/ssv.h2
-rw-r--r--web/api/formatters/value/value.h2
-rw-r--r--web/api/health/health_cmdapi.h2
-rw-r--r--web/api/queries/average/average.h10
-rw-r--r--web/api/queries/countif/countif.h10
-rw-r--r--web/api/queries/des/des.h12
-rw-r--r--web/api/queries/incremental_sum/incremental_sum.h10
-rw-r--r--web/api/queries/max/max.h10
-rw-r--r--web/api/queries/median/median.h26
-rw-r--r--web/api/queries/min/min.h10
-rw-r--r--web/api/queries/percentile/percentile.h26
-rw-r--r--web/api/queries/query.h8
-rw-r--r--web/api/queries/rrdr.h10
-rw-r--r--web/api/queries/ses/ses.h12
-rw-r--r--web/api/queries/stddev/stddev.h16
-rw-r--r--web/api/queries/sum/sum.h10
-rw-r--r--web/api/queries/trimmed_mean/trimmed_mean.h24
-rw-r--r--web/api/queries/weights.h8
-rw-r--r--web/api/web_api_v1.h48
-rw-r--r--web/server/static/static-threaded.h2
-rw-r--r--web/server/web_client.h20
-rw-r--r--