int __sx25_write_config_parameters_file(
    char *filename, struct config_ident *ipt, struct LINK_config_data *lpt,
    struct X25_config_data *xpt, struct MLP_config_data *mpt,
    struct LAPB_config_data *lbp, struct LLC2_config_data *l2p,
    struct WAN_config_data *wpt) {
  (void)filename;
  (void)ipt;
  (void)lpt;
  (void)xpt;
  (void)mpt;
  (void)lbp;
  (void)l2p;
  (void)wpt;
  return (0);
}


x86 assembly (clang, -O0):
<__sx25_write_config_parameters_file>:
push   %rbp
mov    %rsp,%rbp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<__sx25_write_config_parameters_file>:
xor    %eax,%eax
ret

LLVM IR (-O0):
%struct.config_ident = type opaque
%struct.LINK_config_data = type opaque
%struct.X25_config_data = type opaque
%struct.MLP_config_data = type opaque
%struct.LAPB_config_data = type opaque
%struct.LLC2_config_data = type opaque
%struct.WAN_config_data = type opaque
define i32 @__sx25_write_config_parameters_file(i8* %0, %struct.config_ident* %1, %struct.LINK_config_data* %2, %struct.X25_config_data* %3, %struct.MLP_config_data* %4, %struct.LAPB_config_data* %5, %struct.LLC2_config_data* %6, %struct.WAN_config_data* %7) {
%9 = alloca i8*
%10 = alloca %struct.config_ident*
%11 = alloca %struct.LINK_config_data*
%12 = alloca %struct.X25_config_data*
%13 = alloca %struct.MLP_config_data*
%14 = alloca %struct.LAPB_config_data*
%15 = alloca %struct.LLC2_config_data*
%16 = alloca %struct.WAN_config_data*
store i8* %0, i8** %9
store %struct.config_ident* %1, %struct.config_ident** %10
store %struct.LINK_config_data* %2, %struct.LINK_config_data** %11
store %struct.X25_config_data* %3, %struct.X25_config_data** %12
store %struct.MLP_config_data* %4, %struct.MLP_config_data** %13
store %struct.LAPB_config_data* %5, %struct.LAPB_config_data** %14
store %struct.LLC2_config_data* %6, %struct.LLC2_config_data** %15
store %struct.WAN_config_data* %7, %struct.WAN_config_data** %16
%17 = load i8*, i8** %9
%18 = load %struct.config_ident*, %struct.config_ident** %10
%19 = load %struct.LINK_config_data*, %struct.LINK_config_data** %11
%20 = load %struct.X25_config_data*, %struct.X25_config_data** %12
%21 = load %struct.MLP_config_data*, %struct.MLP_config_data** %13
%22 = load %struct.LAPB_config_data*, %struct.LAPB_config_data** %14
%23 = load %struct.LLC2_config_data*, %struct.LLC2_config_data** %15
%24 = load %struct.WAN_config_data*, %struct.WAN_config_data** %16
ret i32 0
}

LLVM IR (-O2):
%struct.config_ident = type opaque
%struct.LINK_config_data = type opaque
%struct.X25_config_data = type opaque
%struct.MLP_config_data = type opaque
%struct.LAPB_config_data = type opaque
%struct.LLC2_config_data = type opaque
%struct.WAN_config_data = type opaque
define i32 @__sx25_write_config_parameters_file(i8* nocapture readnone %0, %struct.config_ident* nocapture readnone %1, %struct.LINK_config_data* nocapture readnone %2, %struct.X25_config_data* nocapture readnone %3, %struct.MLP_config_data* nocapture readnone %4, %struct.LAPB_config_data* nocapture readnone %5, %struct.LLC2_config_data* nocapture readnone %6, %struct.WAN_config_data* nocapture readnone %7) {
ret i32 0
}