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

Side by Side Diff: src/device.c

Issue 5338008: flimflam: Enable -Wimplicit-function-declaration. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Fixes per jglasgow. 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
« no previous file with comments | « src/connman.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * 2 *
3 * Connection Manager 3 * Connection Manager
4 * 4 *
5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. 5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as 8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10 * 10 *
11 * This program is distributed in the hope that it will be useful, 11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details. 14 * GNU General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU General Public License 16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software 17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 * 19 *
20 */ 20 */
21 21
22 #ifdef HAVE_CONFIG_H 22 #ifdef HAVE_CONFIG_H
23 #include <config.h> 23 #include <config.h>
24 #endif 24 #endif
25 25
26 #include <errno.h> 26 #include <errno.h>
27 #include <stdlib.h>
27 #include <string.h> 28 #include <string.h>
28 29
29 #include <gdbus.h> 30 #include <gdbus.h>
30 31
31 #include <connman/assert.h> 32 #include <connman/assert.h>
32 33
33 #include "connman.h" 34 #include "connman.h"
34 35
35 #define _DBG_DEVICE(fmt, arg...) DBG(DBG_DEVICE, fmt, ## arg) 36 #define _DBG_DEVICE(fmt, arg...) DBG(DBG_DEVICE, fmt, ## arg)
36 37
(...skipping 2335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2372 connman_error("%s: failed to register storage", __func__); 2373 connman_error("%s: failed to register storage", __func__);
2373 return connman_driver_register(&device_driver); 2374 return connman_driver_register(&device_driver);
2374 } 2375 }
2375 2376
2376 void __connman_device_cleanup(void) 2377 void __connman_device_cleanup(void)
2377 { 2378 {
2378 connman_driver_unregister(&device_driver); 2379 connman_driver_unregister(&device_driver);
2379 connman_storage_unregister(&device_storage); 2380 connman_storage_unregister(&device_storage);
2380 dbus_connection_unref(connection); 2381 dbus_connection_unref(connection);
2381 } 2382 }
OLDNEW
« no previous file with comments | « src/connman.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698