Remove compiler warnings (writ_ifs.c ipcsockets.c).
This commit is contained in:
parent
1558c5abcb
commit
08bc3ccdd6
|
|
@ -105,7 +105,7 @@ int write_ifs_c_file(
|
||||||
|
|
||||||
/* Open the ifspec.c file for write access */
|
/* Open the ifspec.c file for write access */
|
||||||
if ((filename = gen_filename(filename_in, "w")) == (char *) NULL) {
|
if ((filename = gen_filename(filename_in, "w")) == (char *) NULL) {
|
||||||
print_error("ERROR - Unable to build path to \"%s\".", filename);
|
print_error("ERROR - Unable to build path to \"%s\".", filename_in);
|
||||||
xrc = -1;
|
xrc = -1;
|
||||||
goto EXITPOINT;
|
goto EXITPOINT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ ipc_transport_initialize_server (
|
||||||
/* with version 1 (mailboxes) functions of the same names. */
|
/* with version 1 (mailboxes) functions of the same names. */
|
||||||
{
|
{
|
||||||
struct sockaddr_in server; /* Server specifications for socket*/
|
struct sockaddr_in server; /* Server specifications for socket*/
|
||||||
int server_length; /* Size of server structure */
|
socklen_t server_length; /* Size of server structure */
|
||||||
int port_num; /* Port number converted from server_name */
|
int port_num; /* Port number converted from server_name */
|
||||||
|
|
||||||
NG_IGNORE(mode);
|
NG_IGNORE(mode);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue