0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-30 23:50:04 +00:00
netdata_netdata/web/api/formatters/charts2json.h
vkalintiris ccfbdb5c3d
Remove extern from function declared in headers. ()
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.
2022-10-09 16:38:49 +03:00

12 lines
376 B
C

// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_API_FORMATTER_CHARTS2JSON_H
#define NETDATA_API_FORMATTER_CHARTS2JSON_H
#include "rrd2json.h"
void charts2json(RRDHOST *host, BUFFER *wb, int skip_volatile, int show_archived);
void chartcollectors2json(RRDHOST *host, BUFFER *wb);
const char* get_release_channel();
#endif //NETDATA_API_FORMATTER_CHARTS2JSON_H