Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: plugins/crosmetrics.c

Issue 5338008: flimflam: Enable -Wimplicit-function-declaration. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Chrome OS Metrics - collect and record metrics data through UMA 2 * Chrome OS Metrics - collect and record metrics data through UMA
3 * 3 *
4 * This file initially created by Google, Inc. 4 * This file initially created by Google, Inc.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as 7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 * 9 *
10 * This program is distributed in the hope that it will be useful, 10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software 16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */ 18 */
19 19
20 #ifdef HAVE_CONFIG_H 20 #ifdef HAVE_CONFIG_H
21 #include <config.h> 21 #include <config.h>
22 #endif 22 #endif
23 23
24 #if 0 24 #if 0
25 #define CONFIG_PSB_SUPPORT /* enable Public Safety Band support */ 25 #define CONFIG_PSB_SUPPORT /* enable Public Safety Band support */
26 #endif 26 #endif
27 27
28 #include <ctype.h>
28 #include <stdlib.h> 29 #include <stdlib.h>
30 #include <string.h>
29 31
30 #include <metrics/c_metrics_library.h> 32 #include <metrics/c_metrics_library.h>
31 33
32 #define CONNMAN_API_SUBJECT_TO_CHANGE 34 #define CONNMAN_API_SUBJECT_TO_CHANGE
33 #include <connman/plugin.h> 35 #include <connman/plugin.h>
34 #include <connman/notifier.h> 36 #include <connman/notifier.h>
35 #include <connman/network.h> 37 #include <connman/network.h>
36 #include <connman/service.h> 38 #include <connman/service.h>
37 #include <connman/log.h> 39 #include <connman/log.h>
38 40
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 } 334 }
333 335
334 static void metrics_finis(void) 336 static void metrics_finis(void)
335 { 337 {
336 CMetricsLibraryDelete(lib); 338 CMetricsLibraryDelete(lib);
337 connman_notifier_unregister(&metrics_notifier); 339 connman_notifier_unregister(&metrics_notifier);
338 } 340 }
339 341
340 CONNMAN_PLUGIN_DEFINE(crosmetrics, "Chrome OS metrics plugin", VERSION, 342 CONNMAN_PLUGIN_DEFINE(crosmetrics, "Chrome OS metrics plugin", VERSION,
341 CONNMAN_PLUGIN_PRIORITY_DEFAULT, metrics_init, metrics_finis) 343 CONNMAN_PLUGIN_PRIORITY_DEFAULT, metrics_init, metrics_finis)
OLDNEW
« include/service.h ('K') | « include/service.h ('k') | plugins/crypto_descbc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698