Yi Kong
d82c4e71c9
Rewrite function declarators without prototypes
...
This syntax is removed in C2x proposal N2841.
Test: presubmit
Change-Id: I3b067023327ed22dffda698c5f1accde60d95839
2022-06-22 16:59:22 +08:00
Mark Salyzyn
30f991f251
liblog: use log/log.h when utilizing ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
2017-01-11 09:31:15 -08:00
Mark Salyzyn
66ce3e08c5
system/core Replace cutils/log.h with android/log.h
...
Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.
Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
2016-09-30 12:47:05 -07:00
Yabin Cui
e2d63af002
Move sprintf to snprintf.
...
Bug: 19340053
Change-Id: Id0d866e6195ed4752b4be6081eeb2aab8b1dbe9a
2015-02-17 19:27:51 -08:00
Elliott Hughes
187eade127
Remove netcfg's unused options.
...
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: I9f0b580474258fa648deb5287f98d8ec5533ca6f
2015-02-03 11:59:22 -08:00
Elliott Hughes
c463025a19
Revert "Remove netcfg's unused options."
...
This reverts commit f8e83054cb
.
Change-Id: Iede772f96ff9008277df433dcbb5f6603de65283
2015-02-03 19:56:35 +00:00
Elliott Hughes
f8e83054cb
Remove netcfg's unused options.
...
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: Iaf499c06b09ffe5e0925339b9cd6e502f3234a86
2015-02-03 11:08:07 -08:00
Andreas Gampe
a5d5d84773
Libnetutils: Remove unused functions & variables
...
For build-system CFLAGS clean-up, remove unused functions and
variables.
Change-Id: I40a78d5a532dc32b53beb1cfc1b7645bab8add16
2014-11-24 10:43:53 -08:00
Mark Salyzyn
c829080ba9
libnetutils: Turn on -Werror
...
- Get rid of a pair of out of range comparison warnings.
- Turn on -Werror for compilation
Change-Id: Ie6754f41f9348852a02cc0ff35befb5a76ac2883
2014-05-23 07:49:29 -07:00
Chris Dearman
6ee3ecc03a
Decode DHCP netmask option correctly
...
Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: Ibc288458baf2f75c5b19a46e4c97ee59521cc9a5
2012-08-08 15:50:03 -07:00
Steve Block
8d66c49258
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
...
Bug: 5449033
Change-Id: I9244d927f14c750cd359ebffb1fc1c355a755d5a
2012-01-03 22:32:30 +00:00
Jae Seo
6d956cc089
Use dhcp netmask value rather than its pointer (patch from Marvell)
...
Change-Id: Iffe2ca52333df4ef393c5305a5b66582006e4699
2011-07-29 15:23:39 +09:00
Robert Greenwalt
09dd819d27
Stop using netmask in the framework
...
This pushes prefixLength down as far as we can.
bug:2542681
Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
2011-02-02 14:18:44 -08:00
Szymon Jakubczak
8c85a00db6
- creates proper ifc.h and dhcp.h headers for libnetutils
...
- adds ifc_set_hwaddr
- adds hwaddr command to netcfg
- code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing
- consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties
(see related change to WifiStateTracker)
- updated system/core/nexus to use new headers, although not sure if
anybody still uses nexus
Change-Id: Idd70c0ac6e89b38e86816578c33eff805d30cac4
2010-08-25 08:13:42 -07:00
Jean-Baptiste Queru
58b64acef0
Revert "- creates proper ifc.h and dhcp.h headers for libnetutils"
...
This reverts commit c88e09cb98
.
2010-08-18 11:16:00 -07:00
The Android Open Source Project
67e6fcd195
merge from froyo-plus-aosp
...
Change-Id: Ie231effb4d9dfd63aa98ec08b269c31ce32aa1c0
2010-06-21 11:50:42 -07:00
Szymon Jakubczak
c88e09cb98
- creates proper ifc.h and dhcp.h headers for libnetutils
...
- adds ifc_set_hwaddr
- adds hwaddr command to netcfg
- code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing
- consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties
(see related change to WifiStateTracker)
- updated system/core/nexus to use new headers, although not sure if
anybody still uses nexus
Change-Id: Idd70c0ac6e89b38e86816578c33eff805d30cac4
2010-06-09 16:11:09 -04:00
Nick Kralevich
4f55adc323
Get rid of warnings when compiled with -Wformat-security
...
Change-Id: Ib38b2c152474ed83be1a5716457d0b374c0e5c68
2010-05-13 16:10:23 -07:00
The Android Open Source Project
dd7bc3319d
auto import from //depot/cupcake/@135843
2009-03-03 19:32:55 -08:00
The Android Open Source Project
e54eebbf1a
auto import from //depot/cupcake/@135843
2009-03-03 18:29:04 -08:00
The Android Open Source Project
4f6e8d7a00
Initial Contribution
2008-10-21 07:00:00 -07:00