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

Side by Side Diff: plugins/pppd.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 | « plugins/modemmgr.c ('k') | src/connman.h » ('j') | 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 *
(...skipping 14 matching lines...) Expand all
25 25
26 #include <errno.h> 26 #include <errno.h>
27 #include <glib.h> 27 #include <glib.h>
28 #include <string.h> 28 #include <string.h>
29 #include <unistd.h> 29 #include <unistd.h>
30 #include <net/if_arp.h> 30 #include <net/if_arp.h>
31 #include <sys/socket.h> 31 #include <sys/socket.h>
32 #define CONNMAN_API_SUBJECT_TO_CHANGE 32 #define CONNMAN_API_SUBJECT_TO_CHANGE
33 #include <connman/dbus.h> 33 #include <connman/dbus.h>
34 #include <connman/device.h> 34 #include <connman/device.h>
35 #include <connman/inet.h>
35 #include <connman/ipconfig.h> 36 #include <connman/ipconfig.h>
36 #include <connman/log.h> 37 #include <connman/log.h>
37 #include <connman/plugin.h> 38 #include <connman/plugin.h>
38 #include <connman/task.h> 39 #include <connman/task.h>
39 40
40 #define _DBG_PPPD(fmt, arg...) DBG(DBG_PPPD, fmt, ## arg) 41 #define _DBG_PPPD(fmt, arg...) DBG(DBG_PPPD, fmt, ## arg)
41 42
42 #define PPPD_INTF "org.samba.pppd" 43 #define PPPD_INTF "org.samba.pppd"
43 #define PPPD_PATH "/org/samba/pppd" 44 #define PPPD_PATH "/org/samba/pppd"
44 45
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 } 282 }
282 283
283 static void pppd_exit(void) 284 static void pppd_exit(void)
284 { 285 {
285 _DBG_PPPD(""); 286 _DBG_PPPD("");
286 connman_ipconfig_driver_unregister(&ppp_driver); 287 connman_ipconfig_driver_unregister(&ppp_driver);
287 } 288 }
288 289
289 CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION, 290 CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION,
290 CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit) 291 CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit)
OLDNEW
« no previous file with comments | « plugins/modemmgr.c ('k') | src/connman.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698