mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
|
||||||
|
warnings.
|
||||||
|
|
||||||
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
|
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
|
||||||
|
|||||||
@@ -702,7 +702,7 @@ static int
|
|||||||
sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS)
|
sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
int error, oid[CTL_MAXNAME], len;
|
int error, oid[CTL_MAXNAME], len=0;
|
||||||
struct sysctl_oid *op = 0;
|
struct sysctl_oid *op = 0;
|
||||||
|
|
||||||
if (!req->newlen)
|
if (!req->newlen)
|
||||||
|
|||||||
@@ -726,9 +726,9 @@ loc_aton(ascii, binary)
|
|||||||
cp = ascii;
|
cp = ascii;
|
||||||
maxcp = cp + strlen(ascii);
|
maxcp = cp + strlen(ascii);
|
||||||
|
|
||||||
lltemp1 = latlon2ul(&cp, &which1);
|
lltemp1 = latlon2ul((char **)&cp, &which1);
|
||||||
|
|
||||||
lltemp2 = latlon2ul(&cp, &which2);
|
lltemp2 = latlon2ul((char **)&cp, &which2);
|
||||||
|
|
||||||
switch (which1 + which2) {
|
switch (which1 + which2) {
|
||||||
case 3: /* 1 + 2, the only valid combination */
|
case 3: /* 1 + 2, the only valid combination */
|
||||||
|
|||||||
Reference in New Issue
Block a user