[notice] A new release of pip is available: 24.0 -> 25.0.1
[notice] To update, run: python3 -m pip install --upgrade pip
Detection for resolv_wrapper: Only dns faking will be available
no suitable FAM library found
Building without DMAPI support: no suitable DMAPI library found
Missing libtracker-sparql development files for Spotlight backend "tracker"
Missing glib-2.0 development files for Spotlight backend "tracker"
../../lib/replace/replace.c: In function ‘rep_strerror_r’:
../../lib/replace/replace.c:837:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  837 |                 strlcpy(buf, s, buflen);
      |                 ^~~~~~~
      |                 strncpy

../../third_party/heimdal/lib/roken/getarg.c: In function ‘print_arg’:
../../third_party/heimdal/lib/roken/getarg.c:61:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   61 |             strlcat(string, "= Ns", len);
      |             ^~~~~~~
      |             strncat
../../third_party/heimdal/lib/roken/getarg.c: In function ‘mandoc_template’:
../../third_party/heimdal/lib/roken/getarg.c:110:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  110 |     strlcpy(cmd, p, sizeof(cmd));
      |     ^~~~~~~
      |     strncpy

third_party/heimdal/lib/com_err/parse.tab.c: In function ‘yyparse’:
third_party/heimdal/lib/com_err/parse.tab.c:1134:21: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1134 |                     strlcpy(name, (yyvsp[0].string), sizeof(name));
      |                     ^~~~~~~
      |                     strncpy

../../third_party/heimdal/lib/com_err/compile_et.c: In function ‘main’:
../../third_party/heimdal/lib/com_err/compile_et.c:231:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  231 |     strlcpy(Basename, p, sizeof(Basename));
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/com_err/error.c: In function ‘com_right_r’:
../../third_party/heimdal/lib/com_err/error.c:70:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   70 |             strlcpy(str, dgettext(domain, msg), len);
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/com_err/com_err.c: In function ‘error_message’:
../../third_party/heimdal/lib/com_err/com_err.c:59:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   59 |         strlcpy(msg, p, sizeof(msg));
      |         ^~~~~~~
      |         strncpy

../../lib/replace/replace.c: In function ‘rep_strerror_r’:
../../lib/replace/replace.c:837:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  837 |                 strlcpy(buf, s, buflen);
      |                 ^~~~~~~
      |                 strncpy

../../lib/replace/replace.c: In function ‘rep_strerror_r’:
../../lib/replace/replace.c:837:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  837 |                 strlcpy(buf, s, buflen);
      |                 ^~~~~~~
      |                 strncpy

librpc/idl/drsuapi.idl:1916: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/drsuapi.idl:766: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/drsuapi.idl:770: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/drsuapi.idl:778: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/drsuapi.idl:786: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/drsuapi.idl:794: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/drsuapi.idl:802: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/epmapper.idl:203: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/epmapper.idl:204: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/epmapper.idl:219: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/dssetup.idl:84: warning: top-level [out] pointer `info' is not a [ref] pointer

librpc/idl/spoolss.idl:3567: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/spoolss.idl:919: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:1126: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:1318: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:1669: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:1693: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:1768: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:2116: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:2507: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/spoolss.idl:892: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1126: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1139: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1318: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1641: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1669: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1693: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1731: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:1768: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2116: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2135: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2231: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2273: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2469: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:2507: warning: top-level [out] pointer `info' is not a [ref] pointer
librpc/idl/spoolss.idl:3014: warning: [out] argument `info' not a pointer
librpc/idl/spoolss.idl:3107: warning: top-level [out] pointer `info' is not a [ref] pointer

librpc/idl/dnsserver.idl:1530: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/dnsserver.idl:1462: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/dnsserver.idl:1518: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/srvsvc.idl:1459: warning: top-level [out] pointer `hnd' is not a [ref] pointer

librpc/idl/winreg.idl:191: warning: Got pointer for `size', expected fully dereferenced variable
librpc/idl/winreg.idl:191: warning: Got pointer for `length', expected fully dereferenced variable
librpc/idl/winreg.idl:191: warning: Got pointer for `size', expected fully dereferenced variable
librpc/idl/winreg.idl:191: warning: Got pointer for `length', expected fully dereferenced variable
librpc/idl/winreg.idl:191: warning: Got pointer for `length', expected fully dereferenced variable
librpc/idl/winreg.idl:191: warning: Got pointer for `length', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_size', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_length', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_size', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_length', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_length', expected fully dereferenced variable
librpc/idl/winreg.idl:268: warning: Got pointer for `data_length', expected fully dereferenced variable

librpc/idl/netlogon.idl:1918: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/netlogon.idl:861: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/netlogon.idl:879: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/netlogon.idl:1124: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/svcctl.idl:1041: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/svcctl.idl:483: warning: top-level [out] pointer `TagId' is not a [ref] pointer
librpc/idl/svcctl.idl:494: warning: top-level [out] pointer `service_status' is not a [ref] pointer

librpc/idl/backupkey.idl:154: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/witness.idl:154: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/witness.idl:127: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/ntsvcs.idl:264: warning: top-level [out] pointer `unknown5a' is not a [ref] pointer

librpc/idl/frsrpc.idl:459: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/frsrpc.idl:22: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:23: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:279: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:283: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:285: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:287: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:299: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:301: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:305: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:307: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:316: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:352: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:391: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:393: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/frsrpc.idl:396: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/orpc.idl:214: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/cab.idl:131: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/negoex.idl:153: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/ntprinting.idl:157: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/ODJ.idl:269: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/ODJ.idl:180: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:181: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:182: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:183: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:184: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:187: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:188: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:189: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:190: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:191: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:204: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:211: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:219: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:223: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:238: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:246: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:247: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:248: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:255: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/ODJ.idl:267: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/rap.idl:1076: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/rap.idl:348: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:349: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:350: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:351: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:360: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:362: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:386: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:387: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:388: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:389: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:396: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:397: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:398: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:400: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:572: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:573: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:574: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:575: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:583: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:584: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:585: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:587: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:591: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:593: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:597: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:599: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:603: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:605: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:610: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:612: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:617: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:619: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:624: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:626: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:633: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:634: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:635: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:636: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:644: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:645: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:646: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:648: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:684: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:686: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:739: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:740: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:741: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:742: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:751: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:752: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:753: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:755: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:763: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:765: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:772: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:774: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:904: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:905: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:906: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:908: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:933: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:934: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:935: warning: [out] argument `count' not a pointer
librpc/idl/rap.idl:936: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:945: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:946: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:947: warning: [out] argument `available' not a pointer
librpc/idl/rap.idl:949: warning: [out] argument `info' not a pointer
librpc/idl/rap.idl:958: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:960: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:965: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:967: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:986: warning: [out] argument `status' not a pointer
librpc/idl/rap.idl:987: warning: [out] argument `convert' not a pointer
librpc/idl/rap.idl:989: warning: [out] argument `tod' not a pointer

librpc/idl/wsp.idl:1339: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/auth.idl:171: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/auth.idl:154: error: Unable to determine origin of type `struct cli_credentials'
librpc/idl/auth.idl:154: error: Unable to determine origin of type `struct cli_credentials'

librpc/idl/claims.idl:150: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/claims.idl:106: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/claims.idl:110: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/claims.idl:121: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/dcerpc.idl:663: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/dcerpc.idl:640: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/dns.idl:283: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/dnsp.idl:294: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/drsblobs.idl:681: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/drsblobs.idl:382: warning: pointless array cntr: 'cntr_service_keys_0': length=0
librpc/idl/drsblobs.idl:382: warning: pointless array `service_keys' will always have size 0
librpc/idl/drsblobs.idl:382: warning: pointless array `service_keys' will always have size 0

librpc/idl/krb5pac.idl:265: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/krb5pac.idl:78: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5pac.idl:186: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5pac.idl:192: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5pac.idl:206: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/krb5ccache.idl:78: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5ccache.idl:91: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5ccache.idl:147: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
librpc/idl/krb5ccache.idl:152: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/schannel.idl:185: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/nbt.idl:690: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/ntlmssp.idl:308: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/preg.idl:45: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/security.idl:981: warning: helper() is pidl-specific and deprecated. Use `include' instead
librpc/idl/security.idl:788: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/xattr.idl:240: warning: helper() is pidl-specific and deprecated. Use `include' instead

librpc/idl/conditional_ace.idl:288: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead

librpc/idl/winbind.idl:286: warning: [out] argument `validation' not a pointer
librpc/idl/winbind.idl:288: warning: [out] argument `authoritative' not a pointer
librpc/idl/winbind.idl:286: error: winbind_SamLogon: [out] argument 'validation' is not a pointer or array, skip client functions

source4/librpc/idl/winsif.idl:343: warning: helper() is pidl-specific and deprecated. Use `include' instead
source4/librpc/idl/winsif.idl:243: warning: [out] argument `unc_name' not a pointer

source4/librpc/idl/winsrepl.idl:175: warning: helper() is pidl-specific and deprecated. Use `include' instead

source4/librpc/idl/irpc.idl:28: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
source4/librpc/idl/irpc.idl:70: warning: [out] argument `info' not a pointer
source4/librpc/idl/irpc.idl:83: warning: top-level [out] pointer `dcname' is not a [ref] pointer
source4/librpc/idl/irpc.idl:91: warning: [out] argument `num_addrs' not a pointer
source4/librpc/idl/irpc.idl:113: warning: [out] argument `generic_reply' not a pointer
source4/librpc/idl/irpc.idl:159: warning: [out] argument `info' not a pointer
source4/librpc/idl/irpc.idl:70: error: nbtd_information: [out] argument 'info' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:83: error: nbtd_getdcname: [out] argument 'dcname' is a pointer to a string type, skip client functions
source4/librpc/idl/irpc.idl:91: error: nbtd_proxy_wins_challenge: [out] argument 'num_addrs' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:113: error: kdc_check_generic_kerberos: [out] argument 'generic_reply' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:159: error: smbsrv_information: [out] argument 'info' is not a pointer or array, skip client functions

Done.

source3/librpc/idl/open_files.idl:33: error: Unable to determine origin of type `struct timeval'
source3/librpc/idl/open_files.idl:33: error: Unable to determine origin of type `struct timeval'
source3/librpc/idl/open_files.idl:94: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:94: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:95: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:95: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:96: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:96: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:97: error: Unable to determine origin of type `struct timespec'
source3/librpc/idl/open_files.idl:97: error: Unable to determine origin of type `struct timespec'

source3/librpc/idl/smbXsrv.idl:78: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:78: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:100: error: Unable to determine origin of type `struct smbXsrv_client_table'
source3/librpc/idl/smbXsrv.idl:100: error: Unable to determine origin of type `struct smbXsrv_client_table'
source3/librpc/idl/smbXsrv.idl:101: error: Unable to determine origin of type `struct tevent_context'
source3/librpc/idl/smbXsrv.idl:101: error: Unable to determine origin of type `struct tevent_context'
source3/librpc/idl/smbXsrv.idl:102: error: Unable to determine origin of type `struct messaging_context'
source3/librpc/idl/smbXsrv.idl:102: error: Unable to determine origin of type `struct messaging_context'
source3/librpc/idl/smbXsrv.idl:111: error: Unable to determine origin of type `struct smbd_server_connection'
source3/librpc/idl/smbXsrv.idl:111: error: Unable to determine origin of type `struct smbd_server_connection'
source3/librpc/idl/smbXsrv.idl:116: error: Unable to determine origin of type `struct smbXsrv_session_table'
source3/librpc/idl/smbXsrv.idl:116: error: Unable to determine origin of type `struct smbXsrv_session_table'
source3/librpc/idl/smbXsrv.idl:120: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:120: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:126: error: Unable to determine origin of type `struct smbXsrv_open_table'
source3/librpc/idl/smbXsrv.idl:126: error: Unable to determine origin of type `struct smbXsrv_open_table'
source3/librpc/idl/smbXsrv.idl:133: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:133: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:136: error: Unable to determine origin of type `struct tevent_req'
source3/librpc/idl/smbXsrv.idl:136: error: Unable to determine origin of type `struct tevent_req'
source3/librpc/idl/smbXsrv.idl:137: error: Unable to determine origin of type `struct tevent_req'
source3/librpc/idl/smbXsrv.idl:137: error: Unable to determine origin of type `struct tevent_req'
source3/librpc/idl/smbXsrv.idl:142: error: Unable to determine origin of type `struct smbXsrv_pending_break'
source3/librpc/idl/smbXsrv.idl:142: error: Unable to determine origin of type `struct smbXsrv_pending_break'
source3/librpc/idl/smbXsrv.idl:227: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:227: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:229: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:229: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:235: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:235: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:254: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:254: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:256: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:256: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:258: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:258: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:260: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:260: error: Unable to determine origin of type `struct smb2_signing_key'
source3/librpc/idl/smbXsrv.idl:293: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:293: error: Unable to determine origin of type `struct smbXsrv_connection'
source3/librpc/idl/smbXsrv.idl:294: error: Unable to determine origin of type `struct gensec_security'
source3/librpc/idl/smbXsrv.idl:294: error: Unable to determine origin of type `struct gensec_security'
source3/librpc/idl/smbXsrv.idl:295: error: Unable to determine origin of type `struct smbXsrv_preauth'
source3/librpc/idl/smbXsrv.idl:295: error: Unable to determine origin of type `struct smbXsrv_preauth'
source3/librpc/idl/smbXsrv.idl:304: error: Unable to determine origin of type `struct smbXsrv_session_table'
source3/librpc/idl/smbXsrv.idl:304: error: Unable to determine origin of type `struct smbXsrv_session_table'
source3/librpc/idl/smbXsrv.idl:305: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:305: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:315: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:315: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:356: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:356: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:394: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:394: error: Unable to determine origin of type `struct smbXsrv_tcon_table'
source3/librpc/idl/smbXsrv.idl:395: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:395: error: Unable to determine origin of type `struct db_record'
source3/librpc/idl/smbXsrv.idl:400: error: Unable to determine origin of type `struct connection_struct'
source3/librpc/idl/smbXsrv.idl:400: error: Unable to determine origin of type `struct connection_struct'
source3/librpc/idl/smbXsrv.idl:471: error: Unable to determine origin of type `struct smbXsrv_open_table'
source3/librpc/idl/smbXsrv.idl:471: error: Unable to determine origin of type `struct smbXsrv_open_table'
source3/librpc/idl/smbXsrv.idl:476: error: Unable to determine origin of type `struct files_struct'
source3/librpc/idl/smbXsrv.idl:476: error: Unable to determine origin of type `struct files_struct'

source3/librpc/idl/libnet_join.idl:48: warning: [out] argument `account_name' not a pointer
source3/librpc/idl/libnet_join.idl:49: warning: [out] argument `netbios_domain_name' not a pointer
source3/librpc/idl/libnet_join.idl:50: warning: [out] argument `dns_domain_name' not a pointer
source3/librpc/idl/libnet_join.idl:51: warning: [out] argument `forest_name' not a pointer
source3/librpc/idl/libnet_join.idl:52: warning: [out] argument `dn' not a pointer
source3/librpc/idl/libnet_join.idl:53: warning: [out] argument `domain_guid' not a pointer
source3/librpc/idl/libnet_join.idl:55: warning: [out] argument `modified_config' not a pointer
source3/librpc/idl/libnet_join.idl:56: warning: [out] argument `error_string' not a pointer
source3/librpc/idl/libnet_join.idl:57: warning: [out] argument `domain_is_ad' not a pointer
source3/librpc/idl/libnet_join.idl:58: warning: [out] argument `set_encryption_types' not a pointer
source3/librpc/idl/libnet_join.idl:59: warning: [out] argument `krb5_salt' not a pointer
source3/librpc/idl/libnet_join.idl:60: warning: top-level [out] pointer `dcinfo' is not a [ref] pointer
source3/librpc/idl/libnet_join.idl:62: warning: [out] argument `account_rid' not a pointer
source3/librpc/idl/libnet_join.idl:77: warning: [out] argument `netbios_domain_name' not a pointer
source3/librpc/idl/libnet_join.idl:78: warning: [out] argument `dns_domain_name' not a pointer
source3/librpc/idl/libnet_join.idl:79: warning: [out] argument `forest_name' not a pointer
source3/librpc/idl/libnet_join.idl:80: warning: [out] argument `modified_config' not a pointer
source3/librpc/idl/libnet_join.idl:81: warning: [out] argument `error_string' not a pointer
source3/librpc/idl/libnet_join.idl:82: warning: [out] argument `disabled_machine_account' not a pointer
source3/librpc/idl/libnet_join.idl:84: warning: [out] argument `deleted_machine_account' not a pointer

../../lib/util/debug.c: In function ‘ensure_hostname’:
../../lib/util/debug.c:1103:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1103 |                 strlcpy(state.hostname, "unknown", sizeof(state.hostname));
      |                 ^~~~~~~
      |                 strncpy

../../third_party/heimdal/lib/roken/getarg.c: In function ‘print_arg’:
../../third_party/heimdal/lib/roken/getarg.c:61:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   61 |             strlcat(string, "= Ns", len);
      |             ^~~~~~~
      |             strncat
../../third_party/heimdal/lib/roken/getarg.c: In function ‘mandoc_template’:
../../third_party/heimdal/lib/roken/getarg.c:110:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  110 |     strlcpy(cmd, p, sizeof(cmd));
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/roken/getuserinfo.c: In function ‘roken_get_shell’:
../../third_party/heimdal/lib/roken/getuserinfo.c:68:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   68 |         if (strlcpy(shell, p, shellsz) < shellsz)
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/roken/resolve.c: In function ‘parse_record’:
../../third_party/heimdal/lib/roken/resolve.c:210:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  210 |         strlcpy(rr->u.mx->domain, host, hostlen + 1);
      |         ^~~~~~~
      |         strncpy

../../lib/util/fault.c: In function ‘smb_panic_default’:
../../lib/util/fault.c:135:21: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  135 |                 if (strlcpy(cmdstring, panic_action, sizeof(cmdstring)) < sizeof(cmdstring)) {
      |                     ^~~~~~~
      |                     strncpy

../../lib/util/util_process.c: In function ‘process_set_title’:
../../lib/util/util_process.c:59:17: warning: implicit declaration of function ‘setproctitle’ [-Wimplicit-function-declaration]
   59 |                 setproctitle("%s", long_comment);
      |                 ^~~~~~~~~~~~
../../lib/util/util_process.c: In function ‘process_save_binary_name’:
../../lib/util/util_process.c:80:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   80 |         strlcpy(binary_name, progname, sizeof(binary_name));
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/com_err/com_err.c: In function ‘error_message’:
../../third_party/heimdal/lib/com_err/com_err.c:59:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   59 |         strlcpy(msg, p, sizeof(msg));
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/com_err/error.c: In function ‘com_right_r’:
../../third_party/heimdal/lib/com_err/error.c:70:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   70 |             strlcpy(str, dgettext(domain, msg), len);
      |             ^~~~~~~
      |             strncpy

../../lib/util/util.c: In function ‘directory_create_or_exists_recursive’:
../../lib/util/util.c:273:29: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  273 |                         n = strlcpy(tmp, dname, sizeof(tmp));
      |                             ^~~~~~~
      |                             strncpy

../../lib/util/time.c: In function ‘timespec_string_buf’:
../../lib/util/time.c:368:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  368 |                 strlcpy(buf->buf, "SAMBA_UTIME_OMIT", sizeof(buf->buf));
      |                 ^~~~~~~
      |                 strncpy

../../lib/util/server_id.c: In function ‘server_id_str_buf’:
../../lib/util/server_id.c:59:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   59 |                 strlcpy(dst->buf, "disconnected", sizeof(dst->buf));
      |                 ^~~~~~~
      |                 strncpy

../../third_party/heimdal/lib/base/warn.c: In function ‘_warnerr’:
../../third_party/heimdal/lib/base/warn.c:59:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   59 |         strlcat(xfmt, "%s", sizeof(xfmt));
      |         ^~~~~~~
      |         strncat

../../third_party/heimdal/lib/base/log.c: In function ‘heim_addlog_dest’:
../../third_party/heimdal/lib/base/log.c:431:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  431 |             strlcpy(severity, "ERR", sizeof(severity));
      |             ^~~~~~~
      |             strncpy

../../libcli/security/dom_sid.c: In function ‘dom_sid_string_buf’:
../../libcli/security/dom_sid.c:505:24: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  505 |                 return strlcpy(buf, "(NULL SID)", buflen);
      |                        ^~~~~~~
      |                        strncpy

../../third_party/heimdal/lib/hx509/revoke.c: In function ‘printable_time’:
../../third_party/heimdal/lib/hx509/revoke.c:1090:8: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1090 |        strlcpy(s, "?", sizeof(s));
      |        ^~~~~~~
      |        strncpy

../../third_party/heimdal/lib/hx509/keyset.c: In function ‘hx509_certs_init’:
../../third_party/heimdal/lib/hx509/keyset.c:137:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  137 |             strlcpy(type, name, residue - name + 1);
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/ipc/client.c: In function ‘connect_unix’:
../../third_party/heimdal/lib/ipc/client.c:328:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  328 |     strlcpy(addr.sun_path, s->path, sizeof(addr.sun_path));
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/aname_to_localname.c: In function ‘an2ln_plugin’:
../../third_party/heimdal/lib/krb5/aname_to_localname.c:121:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  121 |     if (strlcpy(lname, heim_string_get_utf8(ctx.luser), lnsize) >= lnsize)
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/transited.c: In function ‘expand_realms’:
../../third_party/heimdal/lib/krb5/transited.c:183:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  183 |             strlcat(r->realm, prev_realm, len);
      |             ^~~~~~~
      |             strncat
../../third_party/heimdal/lib/krb5/transited.c:195:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  195 |             strlcpy(tmp, prev_realm, len);
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/krb5/pkinit.c: In function ‘_krb5_parse_moduli’:
../../third_party/heimdal/lib/krb5/pkinit.c:2204:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 2204 |     strlcpy(buf, default_moduli_rfc3526_MODP_group14, sizeof(buf));
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/krbhst.c: In function ‘srv_find_realm’:
../../third_party/heimdal/lib/krb5/krbhst.c:175:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  175 |             strlcpy(hi->hostname, rr->u.srv->target, len + 1);
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/krb5/keytab_keyfile.c: In function ‘akf_get_name’:
../../third_party/heimdal/lib/krb5/keytab_keyfile.c:180:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  180 |     strlcpy (name, d->filename, name_sz);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_memory.c: In function ‘mkt_get_name’:
../../third_party/heimdal/lib/krb5/keytab_memory.c:132:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  132 |     strlcpy(name, d->name, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_file.c: In function ‘fkt_get_name’:
../../third_party/heimdal/lib/krb5/keytab_file.c:339:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  339 |     strlcpy(name, d->filename, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_any.c: In function ‘any_get_name’:
../../third_party/heimdal/lib/krb5/keytab_any.c:104:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  104 |     strlcpy(name, a->name, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab.c: In function ‘krb5_kt_default_name’:
../../third_party/heimdal/lib/krb5/keytab.c:274:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  274 |     if (strlcpy (name, default_ktname(context), namesize) >= namesize) {
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/init_creds_pw.c: In function ‘change_password’:
../../third_party/heimdal/lib/krb5/init_creds_pw.c:720:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  720 |         strlcpy (newpw, buf1, newpw_sz);
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/addr_families.c: In function ‘ipv6_print_addr’:
../../third_party/heimdal/lib/krb5/addr_families.c:363:21: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  363 |                     strlcat(buf, ":", sizeof(buf));
      |                     ^~~~~~~
      |                     strncat
../../third_party/heimdal/lib/krb5/addr_families.c: In function ‘arange_parse_addr’:
../../third_party/heimdal/lib/krb5/addr_families.c:484:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  484 |         if (strlcpy(buf, address, sizeof(buf)) > sizeof(buf))
      |             ^~~~~~~
      |             strncpy

../../lib/socket/interfaces.c: In function ‘query_iface_speed_from_name’:
../../lib/socket/interfaces.c:149:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  149 |         strlcpy(ifr.ifr_name, name, IF_NAMESIZE);
      |         ^~~~~~~
      |         strncpy

../../source4/lib/events/tevent_s4.c: In function ‘s4_event_context_init’:
../../source4/lib/events/tevent_s4.c:37:17: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
   37 |                 tevent_loop_allow_nesting(ev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/lib/events/events.h:3,
                 from ../../source4/lib/events/tevent_s4.c:21:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../lib/ldb/common/ldb.c: In function ‘ldb_init’:
../../lib/ldb/common/ldb.c:121:17: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
  121 |                 tevent_loop_allow_nesting(ev_ctx);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/ldb/include/ldb.h:51,
                 from ../../lib/ldb/include/ldb_private.h:43,
                 from ../../lib/ldb/common/ldb.c:36:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/common/ldb.c: In function ‘ldb_handle_new’:
../../lib/ldb/common/ldb.c:761:17: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
  761 |                 tevent_loop_allow_nesting(h->event_context);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../lib/krb5_wrap/krb5_samba.c: In function ‘smb_krb5_salt_principal_str’:
../../lib/krb5_wrap/krb5_samba.c:716:9: warning: ‘krb5_free_unparsed_name’ is deprecated [-Wdeprecated-declarations]
  716 |         krb5_free_unparsed_name(krb5_ctx, salt_principal_malloc);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/heimdal/lib/krb5/krb5.h:1021,
                 from ../../lib/replace/system/kerberos.h:33,
                 from ../../lib/krb5_wrap/krb5_samba.h:46,
                 from ../../lib/krb5_wrap/krb5_samba.c:25:
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/krb5_wrap/krb5_samba.c: In function ‘smb_krb5_unparse_name’:
../../lib/krb5_wrap/krb5_samba.c:896:17: warning: ‘krb5_free_unparsed_name’ is deprecated [-Wdeprecated-declarations]
  896 |                 krb5_free_unparsed_name(context, utf8_name);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/krb5_wrap/krb5_samba.c:899:9: warning: ‘krb5_free_unparsed_name’ is deprecated [-Wdeprecated-declarations]
  899 |         krb5_free_unparsed_name(context, utf8_name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~

../../lib/messaging/messages_dgm.c: In function ‘messaging_dgm_init’:
../../lib/messaging/messages_dgm.c:1018:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1018 |         len = strlcpy(ctx->lockfile_dir.buf, lockfile_dir,
      |               ^~~~~~~
      |               strncpy

../../source4/lib/socket/socket_ip.c: In function ‘interpret_addr6’:
../../source4/lib/socket/socket_ip.c:581:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  581 |                 strlcpy(addr, sp,
      |                 ^~~~~~~
      |                 strncpy

../../libcli/auth/smbencrypt.c: In function ‘E_deshash’:
../../libcli/auth/smbencrypt.c:129:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  129 |                 strlcpy((char *)dospwd, passwd ? passwd : "", sizeof(dospwd));
      |                 ^~~~~~~
      |                 strncpy

../../auth/credentials/credentials_krb5.c: In function ‘cli_credentials_set_from_ccache’:
../../auth/credentials/credentials_krb5.c:259:9: warning: ‘krb5_free_unparsed_name’ is deprecated [-Wdeprecated-declarations]
  259 |         krb5_free_unparsed_name(ccache->smb_krb5_context->krb5_context, name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/heimdal/lib/krb5/krb5.h:1021,
                 from ../../lib/replace/system/kerberos.h:33,
                 from ../../auth/credentials/credentials_krb5.c:25:
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~

../../nsswitch/libwbclient/wbc_sid.c: In function ‘wbcSidToStringBuf’:
../../nsswitch/libwbclient/wbc_sid.c:41:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   41 |                 strlcpy(buf, "(NULL SID)", buflen);
      |                 ^~~~~~~
      |                 strncpy

../../nsswitch/libwbclient/wbc_pam.c: In function ‘wbcCtxPingDc2’:
../../nsswitch/libwbclient/wbc_pam.c:742:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  742 |                 strlcpy(*dcname, response.extra_data.data, len);
      |                 ^~~~~~~
      |                 strncpy

../../source4/auth/gensec/gensec_gssapi.c: In function ‘gensec_gssapi_update_internal’:
../../source4/auth/gensec/gensec_gssapi.c:497:25: warning: ‘gsskrb5_set_send_to_kdc’ is deprecated [-Wdeprecated-declarations]
  497 |                         min_stat = gsskrb5_set_send_to_kdc(&send_to_kdc);
      |                         ^~~~~~~~
In file included from ../../lib/replace/system/gssapi.h:43,
                 from ../../source4/auth/gensec/gensec_gssapi.c:29:
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h:121:1: note: declared here
  121 | gsskrb5_set_send_to_kdc(struct gsskrb5_send_to_kdc *)
      | ^~~~~~~~~~~~~~~~~~~~~~~
../../source4/auth/gensec/gensec_gssapi.c:653:25: warning: ‘gsskrb5_set_send_to_kdc’ is deprecated [-Wdeprecated-declarations]
  653 |                         ret = gsskrb5_set_send_to_kdc(&send_to_kdc);
      |                         ^~~
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h:121:1: note: declared here
  121 | gsskrb5_set_send_to_kdc(struct gsskrb5_send_to_kdc *)
      | ^~~~~~~~~~~~~~~~~~~~~~~

../../auth/gensec/gensec.c: In function ‘gensec_update’:
../../auth/gensec/gensec.c:382:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
  382 |         tevent_loop_allow_nesting(ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../auth/gensec/gensec.c:26:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../source4/lib/socket/interface.c: In function ‘interpret_interface’:
../../source4/lib/socket/interface.c:292:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  292 |         (void)strlcpy(ifs.name, token, sizeof(ifs.name));
      |               ^~~~~~~
      |               strncpy

In file included from ../../source3/registry/reg_objects.c:30:
../../source3/registry/reg_objects.c: In function ‘regval_compose’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/registry/reg_objects.c:443:9: note: in expansion of macro ‘fstrcpy’
  443 |         fstrcpy(regval->valuename, name);
      |         ^~~~~~~

In file included from ../../source3/lib/util_sid.c:29:
../../source3/lib/util_sid.c: In function ‘sid_to_fstring’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/util_sid.c:40:9: note: in expansion of macro ‘fstrcpy’
   40 |         fstrcpy(sidstr_out, dom_sid_str_buf(sid, &buf));
      |         ^~~~~~~

../../source3/lib/util_sock.c: In function ‘get_peer_addr_internal’:
../../source3/lib/util_sock.c:656:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  656 |         strlcpy(addr_buf,"0.0.0.0",addr_buf_len);
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/lib/idmap_cache.c:25:
../../source3/lib/idmap_cache.c: In function ‘idmap_cache_set_sid2unixid’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/idmap_cache.c:313:25: note: in expansion of macro ‘fstrcpy’
  313 |                         fstrcpy(value, "-");
      |                         ^~~~~~~

In file included from ../../source3/lib/substitute.c:27:
../../source3/lib/substitute.c: In function ‘set_remote_proto’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/substitute.c:40:9: note: in expansion of macro ‘fstrcpy’
   40 |         fstrcpy(remote_proto, proto);
      |         ^~~~~~~

In file included from ../../source3/lib/wins_srv.c:24:
../../source3/lib/wins_srv.c: In function ‘parse_ip’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/wins_srv.c:187:17: note: in expansion of macro ‘fstrcpy’
  187 |                 fstrcpy(ip->tag, "*");
      |                 ^~~~~~~

In file included from ../../source3/lib/username.c:26:
../../source3/lib/username.c: In function ‘Get_Pwnam_alloc’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/username.c:180:9: note: in expansion of macro ‘fstrcpy’
  180 |         fstrcpy(user2, user);
      |         ^~~~~~~

../../source3/lib/interface.c: In function ‘interpret_interface’:
../../source3/lib/interface.c:642:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  642 |         (void)strlcpy(ifs.name, token, sizeof(ifs.name));
      |               ^~~~~~~
      |               strncpy

In file included from ../../source3/param/loadparm.c:79:
../../source3/param/loadparm.c: In function ‘lp_servicenumber’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/param/loadparm.c:4367:25: note: in expansion of macro ‘fstrcpy’
 4367 |                         fstrcpy(serviceName, ServicePtrs[iService]->szService);
      |                         ^~~~~~~

In file included from ../../source3/passdb/machine_account_secrets.c:40:
../../source3/passdb/machine_account_secrets.c: In function ‘kerberos_standard_des_salt’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/passdb/machine_account_secrets.c:539:9: note: in expansion of macro ‘fstrcat’
  539 |         fstrcat( salt, lp_realm() );
      |         ^~~~~~~

In file included from ../../source3/libsmb/clidgram.c:31:
../../source3/libsmb/clidgram.c: In function ‘cli_prep_mailslot’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/libsmb/clidgram.c:93:9: note: in expansion of macro ‘fstrcpy’
   93 |         fstrcpy(p2,mailslot);
      |         ^~~~~~~

../../source3/libsmb/nmblib.c: In function ‘put_nmb_name’:
../../source3/libsmb/nmblib.c:362:25: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  362 |                         strlcpy(&buf[offset+1],name->scope,
      |                         ^~~~~~~
      |                         strncpy

../../source3/libsmb/namecache.c: In function ‘namecache_status_fetch’:
../../source3/libsmb/namecache.c:476:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  476 |         strlcpy(srvname_out, value, 16);
      |         ^~~~~~~
      |         strncpy

../../source3/libsmb/namequery.c: In function ‘parse_node_status’:
../../source3/libsmb/namequery.c:343:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  343 |                 strlcpy(ret[i].name,p,16);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/librpc/crypto/gse_krb5.c:27:
../../source3/librpc/crypto/gse_krb5.c: In function ‘fill_mem_keytab_from_system_keytab’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/librpc/crypto/gse_krb5.c:363:9: note: in expansion of macro ‘fstrcpy’
  363 |         fstrcpy(my_name, lp_netbios_name());
      |         ^~~~~~~

In file included from ../../source3/libsmb/cliprint.c:24:
../../source3/libsmb/cliprint.c: In function ‘cli_print_queue’:
../../lib/util/string_wrappers.h:31:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   31 |         strlcpy((dest), _strlcpy_base_src? _strlcpy_base_src : "", (size)-PTR_DIFF((dest),(base))); \
      |         ^~~~~~~
../../source3/libsmb/cliprint.c:73:9: note: in expansion of macro ‘strlcpy_base’
   73 |         strlcpy_base(p,"zWrLeh", param, sizeof(param));   /* parameter description? */
      |         ^~~~~~~~~~~~

../../source3/libsmb/clirap.c: In function ‘cli_RNetShareEnum’:
../../source3/libsmb/clirap.c:119:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  119 |         strlcpy(p,"WrLeh",sizeof(param)-PTR_DIFF(p,param));
      |         ^~~~~~~
      |         strncpy

../../source3/rpc_client/local_np.c: In function ‘np_sock_connect_send’:
../../source3/rpc_client/local_np.c:93:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   93 |         len = strlcpy(state->addr.u.un.sun_path,
      |               ^~~~~~~
      |               strncpy

In file included from ../../source3/passdb/pdb_interface.c:40:
../../source3/passdb/pdb_interface.c: In function ‘pdb_default_create_user’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/passdb/pdb_interface.c:488:17: note: in expansion of macro ‘fstrcpy’
  488 |                 fstrcpy( name2, name );
      |                 ^~~~~~~

In file included from ../../source3/lib/privileges.c:30:
../../source3/lib/privileges.c: In function ‘priv_traverse_fn’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/privileges.c:226:9: note: in expansion of macro ‘fstrcpy’
  226 |         fstrcpy( sid_string, (char *)&(key.dptr[strlen(PRIVPREFIX)]) );
      |         ^~~~~~~

../../source3/passdb/passdb.c: In function ‘pdb_sethexpwd’:
../../source3/passdb/passdb.c:425:25: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  425 |                         strlcpy(p, "NO PASSWORDXXXXXXXXXXXXXXXXXXXXX", 33);
      |                         ^~~~~~~
      |                         strncpy

In file included from ../../source3/passdb/pdb_tdb.c:34:
../../source3/passdb/pdb_tdb.c: In function ‘tdbsam_getsampwnam’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/passdb/pdb_tdb.c:583:9: note: in expansion of macro ‘fstrcpy’
  583 |         fstrcpy(name, sname);
      |         ^~~~~~~

In file included from ../../source3/passdb/pdb_ldap.c:58:
../../source3/passdb/pdb_ldap.c: In function ‘ldapsam_rename_sam_account’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/passdb/pdb_ldap.c:2082:9: note: in expansion of macro ‘fstrcpy’
 2082 |         fstrcpy( oldname_lower, oldname );
      |         ^~~~~~~

In file included from ../../source3/passdb/pdb_smbpasswd.c:30:
../../source3/passdb/pdb_smbpasswd.c: In function ‘mod_smbfilepwd_entry’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/passdb/pdb_smbpasswd.c:980:25: note: in expansion of macro ‘fstrcpy’
  980 |                         fstrcpy(encode_bits, pdb_encode_acct_ctrl(pwd->acct_ctrl, NEW_PW_FORMAT_SPACE_PADDED_LEN));
      |                         ^~~~~~~

../../source4/librpc/rpc/dcerpc.c: In function ‘dcerpc_pipe_binding_handle’:
../../source4/librpc/rpc/dcerpc.c:640:9: warning: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated [-Wdeprecated-declarations]
  640 |         dcerpc_binding_handle_set_sync_ev(h, p->conn->event_ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/librpc/rpc/dcerpc.h:33,
                 from ../../source4/librpc/rpc/dcerpc.c:28:
../../source4/../librpc/rpc/rpc_common.h:245:19: note: declared here
  245 | _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle *h,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../source3/libads/ads_struct.c: In function ‘ads_build_path’:
../../source3/libads/ads_struct.c:60:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   60 |         if (strlcpy(ret,field, len) >= len) {
      |             ^~~~~~~
      |             strncpy
../../source3/libads/ads_struct.c:68:21: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   68 |                 if (strlcat(ret, p, len) >= len) {
      |                     ^~~~~~~
      |                     strncat

In file included from ../../source3/libsmb/namequery_dc.c:31:
../../source3/libsmb/namequery_dc.c: In function ‘ads_dc_name’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/libsmb/namequery_dc.c:135:9: note: in expansion of macro ‘fstrcpy’
  135 |         fstrcpy(srv_name, ads->config.ldap_server_name);
      |         ^~~~~~~

In file included from ../../source3/auth/pampass.c:32:
../../source3/auth/pampass.c: In function ‘make_pw_chat’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/auth/pampass.c:255:25: note: in expansion of macro ‘fstrcpy’
  255 |                         fstrcpy(prompt,"*");
      |                         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb2_service.c:24:
../../source3/smbd/smb2_service.c: In function ‘share_sanity_checks’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb2_service.c:178:25: note: in expansion of macro ‘fstrcpy’
  178 |                         fstrcpy(dev,"LPT1:");
      |                         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb2_reply.c:32:
../../source3/smbd/smb2_reply.c: In function ‘reply_special’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb2_reply.c:793:25: note: in expansion of macro ‘fstrcpy’
  793 |                         fstrcpy(name1, raddr);
      |                         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/dosmode.c:27:
../../source3/smbd/dosmode.c: In function ‘dos_mode_debug_print’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/dosmode.c:44:17: note: in expansion of macro ‘fstrcat’
   44 |                 fstrcat(modestr, "h");
      |                 ^~~~~~~

../../source3/smbd/files.c: In function ‘file_name_hash’:
../../source3/smbd/files.c:2472:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 2472 |                 strlcpy(tmpbuf, name, sizeof(tmpbuf));
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/printing/rap_jobid.c:35:
../../source3/printing/rap_jobid.c: In function ‘pjobid_to_rap’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/rap_jobid.c:66:9: note: in expansion of macro ‘fstrcpy’
   66 |         fstrcpy( jinfo.sharename, sharename );
      |         ^~~~~~~

../../source3/smbd/smb1_lanman.c: In function ‘package’:
../../source3/smbd/smb1_lanman.c:432:41: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  432 |                                         strlcpy(p->structbuf,s?s:"",needed);
      |                                         ^~~~~~~
      |                                         strncpy
In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb1_lanman.c:30:
../../source3/smbd/smb1_lanman.c: In function ‘api_WWkstaUserLogon’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb1_lanman.c:4547:25: note: in expansion of macro ‘fstrcat’
 4547 |                         fstrcat(mypath,get_local_machine_name());
      |                         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb1_service.c:24:
../../source3/smbd/smb1_service.c: In function ‘make_connection’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb1_service.c:141:9: note: in expansion of macro ‘fstrcpy’
  141 |         fstrcpy(dev, pdev);
      |         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb1_sesssetup.c:28:
../../source3/smbd/smb1_sesssetup.c: In function ‘reply_sesssetup_and_X’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb1_sesssetup.c:867:17: note: in expansion of macro ‘fstrcpy’
  867 |                 fstrcpy(sub_user, state->user);
      |                 ^~~~~~~

../../source3/smbd/smb1_reply.c: In function ‘make_dir_struct’:
../../source3/smbd/smb1_reply.c:1111:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1111 |                 strlcpy(name, mask, sizeof(name));
      |                 ^~~~~~~
      |                 strncpy

../../source3/smbd/mangle_hash2.c: In function ‘hash2_name_to_8_3’:
../../source3/smbd/mangle_hash2.c:699:25: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  699 |                         strlcpy(new_name, name, 13);
      |                         ^~~~~~~
      |                         strncpy

../../source3/smbd/mangle_hash.c: In function ‘cache_mangled_name’:
../../source3/smbd/mangle_hash.c:812:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  812 |         strlcpy(mangled_name_key, mangled_name, sizeof(mangled_name_key));
      |         ^~~~~~~
      |         strncpy

../../source3/smbd/mangle.c: In function ‘name_to_8_3’:
../../source3/smbd/mangle.c:144:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  144 |                 strlcpy(out, in, 13);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb2_negprot.c:22:
../../source3/smbd/smb2_negprot.c: In function ‘negprot_spnego’:
../../lib/util/string_wrappers.h:89:8: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   89 |      : strlcpy(dest, src, size))
      |        ^~~~~~~
../../source3/smbd/smb2_negprot.c:1042:9: note: in expansion of macro ‘checked_strlcpy’
 1042 |         checked_strlcpy(unix_name, lp_netbios_name(), sizeof(unix_name));
      |         ^~~~~~~~~~~~~~~

../../source3/smbd/smb2_trans2.c: In function ‘fill_ea_buffer’:
../../source3/smbd/smb2_trans2.c:537:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  537 |                 strlcpy(p+4, dos_ea_name, dos_namelen+1);
      |                 ^~~~~~~
      |                 strncpy
In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/smbd/smb2_trans2.c:31:
../../source3/smbd/smb2_trans2.c: In function ‘set_ea’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/smbd/smb2_trans2.c:761:17: note: in expansion of macro ‘fstrcat’
  761 |                 fstrcat(unix_ea_name, ea_list->ea.name);
      |                 ^~~~~~~

../../source4/librpc/rpc/pyrpc_util.c: In function ‘pyrpc_irpc_connect’:
../../source4/librpc/rpc/pyrpc_util.c:92:9: warning: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated [-Wdeprecated-declarations]
   92 |         dcerpc_binding_handle_set_sync_ev(*binding_handle, event_ctx);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/librpc/rpc/dcerpc.h:33,
                 from ../../source4/librpc/rpc/pyrpc_util.c:28:
../../source4/../librpc/rpc/rpc_common.h:245:19: note: declared here
  245 | _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle *h,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../source3/libsmb/libsmb_xattr.c:33:
../../source3/libsmb/libsmb_xattr.c: In function ‘cacl_get’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/libsmb/libsmb_xattr.c:773:9: note: in expansion of macro ‘fstrcpy’
  773 |         fstrcpy(name_sandbox, attr_name);
      |         ^~~~~~~

../../source3/libsmb/libsmb_path.c: In function ‘smbc_urldecode’:
../../source3/libsmb/libsmb_path.c:115:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  115 |                 strlcpy(dest, pdest, max_dest_len);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/libsmb/libsmb_dir.c:37:
../../source3/libsmb/libsmb_dir.c: In function ‘net_share_enum_rpc’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/libsmb/libsmb_dir.c:421:17: note: in expansion of macro ‘fstrcpy’
  421 |                 fstrcpy(name, info_ctr.ctr.ctr1->array[i].name);
      |                 ^~~~~~~

../../source3/libsmb/libsmb_server.c: In function ‘SMBC_call_auth_fn’:
../../source3/libsmb/libsmb_server.c:158:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  158 |                 strlcpy(workgroup, *pp_workgroup, sizeof(workgroup));
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/winbindd/idmap_tdb.c:36:
../../source3/winbindd/idmap_tdb.c: In function ‘convert_fn’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/idmap_tdb.c:83:9: note: in expansion of macro ‘fstrcpy’
   83 |         fstrcpy(dom_name, (const char *)key.dptr);
      |         ^~~~~~~

In file included from ../../libgpo/gpext/gpext.c:30:
../../libgpo/gpext/gpext.c: In function ‘gp_glob_ext_list’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../libgpo/gpext/gpext.c:571:17: note: in expansion of macro ‘fstrcpy’
  571 |                 fstrcpy(name, dirent->d_name);
      |                 ^~~~~~~

In file included from ../../libgpo/gpo_filesync.c:25:
../../libgpo/gpo_filesync.c: In function ‘gpo_sync_func’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../libgpo/gpo_filesync.c:161:17: note: in expansion of macro ‘fstrcpy’
  161 |                 fstrcpy(nt_dir, ctx->remote_path);
      |                 ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../libgpo/gpo_filesync.c:162:17: note: in expansion of macro ‘fstrcat’
  162 |                 fstrcat(nt_dir, "\\");
      |                 ^~~~~~~

../../nsswitch/libwbclient/wbc_sid.c: In function ‘wbcSidToStringBuf’:
../../nsswitch/libwbclient/wbc_sid.c:41:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   41 |                 strlcpy(buf, "(NULL SID)", buflen);
      |                 ^~~~~~~
      |                 strncpy

../../nsswitch/libwbclient/wbc_pam.c: In function ‘wbcCtxPingDc2’:
../../nsswitch/libwbclient/wbc_pam.c:742:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  742 |                 strlcpy(*dcname, response.extra_data.data, len);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/printing/printing_db.c:27:
../../source3/printing/printing_db.c: In function ‘get_print_db_byname’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/printing_db.c:134:9: note: in expansion of macro ‘fstrcpy’
  134 |         fstrcpy(p->printer_name, printername);
      |         ^~~~~~~

In file included from ../../source3/printing/notify.c:29:
../../source3/printing/notify.c: In function ‘send_notify_field_values’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/notify.c:369:9: note: in expansion of macro ‘fstrcpy’
  369 |         fstrcpy(msg->printer, sharename);
      |         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/printing/printing.c:35:
../../source3/printing/printing.c: In function ‘print_unix_job’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/printing.c:838:9: note: in expansion of macro ‘fstrcpy’
  838 |         fstrcpy(pj.filename, old_pj ? old_pj->filename : "");
      |         ^~~~~~~

In file included from ../../source3/printing/nt_printing_tdb.c:30:
../../source3/printing/nt_printing_tdb.c: In function ‘make_printer_tdbkey’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/nt_printing_tdb.c:57:9: note: in expansion of macro ‘fstrcpy’
   57 |         fstrcpy(share, sharename);
      |         ^~~~~~~

In file included from ../../source3/printing/lpq_parse.c:22:
../../source3/printing/lpq_parse.c: In function ‘EntryTime’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/lpq_parse.c:54:25: note: in expansion of macro ‘fstrcpy’
   54 |                         fstrcpy(c,tok[ptr+2]);
      |                         ^~~~~~~
../../source3/printing/lpq_parse.c: In function ‘parse_lpq_bsd’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/lpq_parse.c:182:25: note: in expansion of macro ‘fstrcat’
  182 |                         fstrcat(buf->fs_file, " ");
      |                         ^~~~~~~

../../source3/printing/print_cups.c: In function ‘cups_queue_get’:
../../source3/printing/print_cups.c:1393:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1393 |                 strlcpy(temp->fs_user, user_name, sizeof(temp->fs_user));
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/printing/print_iprint.c:25:
../../source3/printing/print_iprint.c: In function ‘iprint_queue_get’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/printing/print_iprint.c:1017:9: note: in expansion of macro ‘fstrcpy’
 1017 |         fstrcpy( printername, lpq_command );
      |         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/lib/string_replace.c:24:
../../source3/lib/string_replace.c: In function ‘string_replace_init_map’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/string_replace.c:117:17: note: in expansion of macro ‘fstrcpy’
  117 |                 fstrcpy(mapping, mappings[i]);
      |                 ^~~~~~~

In file included from ../../source3/lib/util_sd.c:31:
../../source3/lib/util_sd.c: In function ‘SidToString’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/lib/util_sd.c:166:17: note: in expansion of macro ‘fstrcpy’
  166 |                 fstrcpy(str, name);
      |                 ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/rpc_server/spoolss/srv_spoolss_nt.c:51:
../../source3/rpc_server/spoolss/srv_spoolss_nt.c: In function ‘set_printer_hnd_name’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/rpc_server/spoolss/srv_spoolss_nt.c:607:17: note: in expansion of macro ‘fstrcpy’
  607 |                 fstrcpy(sname, SPL_XCV_MONITOR_TCPMON);
      |                 ^~~~~~~

../../source3/lib/xattr_tdb.c: In function ‘xattr_tdb_listattr’:
../../source3/lib/xattr_tdb.c:375:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  375 |                 strlcpy(list+len, attribs->eas[i].name,
      |                 ^~~~~~~
      |                 strncpy

../../lib/replace/tests/testsuite.c: In function ‘test_strlcpy’:
../../lib/replace/tests/testsuite.c:111:21: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  111 |                 if (strlcpy(buf, tests[i].src, sizeof(buf)) != tests[i].result) {
      |                     ^~~~~~~
      |                     strncpy
../../lib/replace/tests/testsuite.c: In function ‘test_strlcat’:
../../lib/replace/tests/testsuite.c:125:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  125 |         if (strlcat(tmp, "bla", 3) != 3) {
      |             ^~~~~~~
      |             strncat

In file included from ../../libgpo/gpext/gpext.c:30:
../../libgpo/gpext/gpext.c: In function ‘gp_glob_ext_list’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../libgpo/gpext/gpext.c:571:17: note: in expansion of macro ‘fstrcpy’
  571 |                 fstrcpy(name, dirent->d_name);
      |                 ^~~~~~~

../../third_party/heimdal/lib/hdb/hdb.c: In function ‘hdb_list_builtin’:
../../third_party/heimdal/lib/hdb/hdb.c:644:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  644 |             strlcat(buf, ", ", len);
      |             ^~~~~~~
      |             strncat

../../source3/winbindd/idmap_hash/mapfile.c: In function ‘mapfile_read_line’:
../../source3/winbindd/idmap_hash/mapfile.c:95:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   95 |         strlcpy(key, buffer, sizeof(fstring));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/winbindd/idmap_autorid_tdb.c:28:
../../source3/winbindd/idmap_autorid_tdb.c: In function ‘idmap_autorid_build_keystr’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/idmap_autorid_tdb.c:42:17: note: in expansion of macro ‘fstrcpy’
   42 |                 fstrcpy(keystr, domsid);
      |                 ^~~~~~~

In file included from ../../source3/winbindd/winbindd_wins_byname.c:25:
../../source3/winbindd/winbindd_wins_byname.c: In function ‘winbindd_wins_byname_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_wins_byname.c:151:9: note: in expansion of macro ‘fstrcpy’
  151 |         fstrcpy(presp->data.winsresp, response);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_lookuprids.c:25:
../../source3/winbindd/winbindd_lookuprids.c: In function ‘winbindd_lookuprids_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_lookuprids.c:145:9: note: in expansion of macro ‘fstrcpy’
  145 |         fstrcpy(response->data.domain_name, state->domain_name);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_wins_byip.c:25:
../../source3/winbindd/winbindd_wins_byip.c: In function ‘winbindd_wins_byip_done’:
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_wins_byip.c:117:17: note: in expansion of macro ‘fstrcat’
  117 |                 fstrcat(state->response, names[i].name);
      |                 ^~~~~~~
../../source3/winbindd/winbindd_wins_byip.c: In function ‘winbindd_wins_byip_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_wins_byip.c:140:9: note: in expansion of macro ‘fstrcpy’
  140 |         fstrcpy(presp->data.winsresp, state->response);
      |         ^~~~~~~

In file included from ../../source3/winbindd/wb_getpwsid.c:24:
../../source3/winbindd/wb_getpwsid.c: In function ‘wb_getpwsid_queryuser_done’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/wb_getpwsid.c:92:9: note: in expansion of macro ‘fstrcpy’
   92 |         fstrcpy(acct_name, info->acct_name);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_misc.c:26:
../../source3/winbindd/winbindd_misc.c: In function ‘winbindd_info’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_misc.c:347:9: note: in expansion of macro ‘fstrcpy’
  347 |         fstrcpy(state->response->data.info.samba_version, samba_version_string());
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_cm.c:88:
../../source3/winbindd/winbindd_cm.c: In function ‘get_dc_name_via_netlogon’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_cm.c:599:9: note: in expansion of macro ‘fstrcpy’
  599 |         fstrcpy(dcname, p);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_pam.c:53:
../../source3/winbindd/winbindd_pam.c: In function ‘append_info3_as_txt’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam.c:110:9: note: in expansion of macro ‘fstrcpy’
  110 |         fstrcpy(resp->data.auth.info3.user_name,
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_util.c:37:
../../source3/winbindd/winbindd_util.c: In function ‘set_auth_errors’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_util.c:2118:9: note: in expansion of macro ‘fstrcpy’
 2118 |         fstrcpy(resp->data.auth.nt_status_string, nt_errstr(result));
      |         ^~~~~~~

../../source3/winbindd/winbindd_ccache_access.c: In function ‘check_client_uid’:
../../source3/winbindd/winbindd_ccache_access.c:167:15: warning: implicit declaration of function ‘getpeereid’; did you mean ‘getgrgid’? [-Wimplicit-function-declaration]
  167 |         ret = getpeereid(state->sock, &ret_uid, &ret_gid);
      |               ^~~~~~~~~~
      |               getgrgid
In file included from ../../source3/winbindd/winbindd_ccache_access.c:29:
../../source3/winbindd/winbindd_ccache_access.c: In function ‘winbindd_ccache_ntlm_auth’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_ccache_access.c:218:9: note: in expansion of macro ‘fstrcpy’
  218 |         fstrcpy(state->request->data.ccache_ntlm_auth.user, auth_user);
      |         ^~~~~~~

../../source3/winbindd/winbindd_group.c: In function ‘fill_grent’:
../../source3/winbindd/winbindd_group.c:69:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   69 |         strlcpy(gr->gr_name, full_group_name, sizeof(gr->gr_name));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/winbindd/winbindd_pam_auth_crap.c:24:
../../source3/winbindd/winbindd_pam_auth_crap.c: In function ‘winbindd_pam_auth_crap_send’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam_auth_crap.c:118:17: note: in expansion of macro ‘fstrcpy’
  118 |                 fstrcpy(request->data.auth_crap.workstation, lp_netbios_name());
      |                 ^~~~~~~

In file included from ../../source3/winbindd/winbindd_cache.c:39:
../../source3/winbindd/winbindd_cache.c: In function ‘wcache_save_username_alias’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_cache.c:1065:9: note: in expansion of macro ‘fstrcpy’
 1065 |         fstrcpy(uname, name);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_lookupsid.c:23:
../../source3/winbindd/winbindd_lookupsid.c: In function ‘winbindd_lookupsid_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_lookupsid.c:100:9: note: in expansion of macro ‘fstrcpy’
  100 |         fstrcpy(response->data.name.dom_name, state->domname);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_pam_chauthtok.c:22:
../../source3/winbindd/winbindd_pam_chauthtok.c: In function ‘winbindd_pam_chauthtok_send’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam_chauthtok.c:82:17: note: in expansion of macro ‘fstrcpy’
   82 |                 fstrcpy(request->data.chauthtok.user, mapped_user);
      |                 ^~~~~~~

In file included from ../../source3/winbindd/winbindd_pam_logoff.c:25:
../../source3/winbindd/winbindd_pam_logoff.c: In function ‘winbindd_pam_logoff_send’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam_logoff.c:82:9: note: in expansion of macro ‘fstrcpy’
   82 |         fstrcpy(request->data.logoff.user, logoff_user);
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam_logoff.c:91:15: warning: implicit declaration of function ‘getpeereid’; did you mean ‘getgrgid’? [-Wimplicit-function-declaration]
   91 |         res = getpeereid(cli->sock, &caller_uid, &caller_gid);
      |               ^~~~~~~~~~
      |               getgrgid

In file included from ../../source3/winbindd/winbindd_pam_auth.c:23:
../../source3/winbindd/winbindd_pam_auth.c: In function ‘winbindd_pam_auth_send’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_pam_auth.c:119:17: note: in expansion of macro ‘fstrcpy’
  119 |                 fstrcpy(request->data.auth.user, mapped);
      |                 ^~~~~~~

In file included from ../../source3/winbindd/winbindd_domain_info.c:22:
../../source3/winbindd/winbindd_domain_info.c: In function ‘winbindd_domain_info_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_domain_info.c:132:9: note: in expansion of macro ‘fstrcpy’
  132 |         fstrcpy(response->data.domain_info.name, domain->name);
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_getdcname.c:23:
../../source3/winbindd/winbindd_getdcname.c: In function ‘winbindd_getdcname_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_getdcname.c:89:9: note: in expansion of macro ‘fstrcpy’
   89 |         fstrcpy(response->data.dc_name, strip_hostname(state->dcinfo->dc_unc));
      |         ^~~~~~~

In file included from ../../source3/winbindd/winbindd_dsgetdcname.c:24:
../../source3/winbindd/winbindd_dsgetdcname.c: In function ‘winbindd_dsgetdcname_recv’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/winbindd_dsgetdcname.c:120:9: note: in expansion of macro ‘fstrcpy’
  120 |         fstrcpy(response->data.dsgetdcname.dc_unc,
      |         ^~~~~~~

In file included from ../../source3/utils/conn_tdb.c:30:
../../source3/utils/conn_tdb.c: In function ‘collect_sessions_fn’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/conn_tdb.c:70:9: note: in expansion of macro ‘fstrcpy’
   70 |         fstrcpy(sess.machine, global->channels[0].remote_name);
      |         ^~~~~~~

In file included from ../../source3/utils/net_ads_join_dns.c:28:
../../source3/utils/net_ads_join_dns.c: In function ‘net_update_dns_internal’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_ads_join_dns.c:156:17: note: in expansion of macro ‘fstrcpy’
  156 |                 fstrcpy( dns_server, nameservers[i].hostname );
      |                 ^~~~~~~

In file included from ../../nsswitch/wins.c:24:
../../nsswitch/wins.c: In function ‘_nss_wins_gethostbyname_r’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../nsswitch/wins.c:270:9: note: in expansion of macro ‘fstrcpy’
  270 |         fstrcpy(name, hostname);
      |         ^~~~~~~

../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_search_against_transaction’:
../../lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1646 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/ldb/tests/ldb_mod_op_test.c:25:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:1965:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1965 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_whole_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2205:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2205 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_callback_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2689:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2689 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_search_against_transaction’:
../../lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1646 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/ldb/tests/ldb_mod_op_test.c:25:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:1965:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1965 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_whole_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2205:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2205 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_callback_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2689:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2689 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_search_against_transaction’:
../../lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1646 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/ldb/tests/ldb_mod_op_test.c:25:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:1965:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 1965 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_modify_during_whole_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2205:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2205 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/tests/ldb_mod_op_test.c: In function ‘test_ldb_callback_modify_during_search’:
../../lib/ldb/tests/ldb_mod_op_test.c:2689:9: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
 2689 |         tevent_loop_allow_nesting(search_test_ctx->ldb_test_ctx->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../source4/dsdb/samdb/ldb_modules/tests/test_encrypted_secrets.c:28:
../../source4/dsdb/samdb/ldb_modules/tests/../encrypted_secrets.c: In function ‘log_error’:
../../source4/dsdb/samdb/ldb_modules/tests/../encrypted_secrets.c:151:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  151 |                 strlcpy(buf, "Unknown error", sizeof(buf)-1);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source4/dsdb/samdb/ldb_modules/tests/test_encrypted_secrets.c:28:
../../source4/dsdb/samdb/ldb_modules/tests/../encrypted_secrets.c: In function ‘log_error’:
../../source4/dsdb/samdb/ldb_modules/tests/../encrypted_secrets.c:151:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  151 |                 strlcpy(buf, "Unknown error", sizeof(buf)-1);
      |                 ^~~~~~~
      |                 strncpy

../../nsswitch/pam_winbind.c: In function ‘_make_remark’:
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
In file included from ../../nsswitch/pam_winbind.h:104,
                 from ../../nsswitch/pam_winbind.c:13:
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:735:17: note: declared here
  735 |                 _pam_drop_reply(resp, 1);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c: In function ‘_pam_winbind_change_pwd’:
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:906:9: note: declared here
  906 |         _pam_drop_reply(resp, 1);
      |         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c: In function ‘safe_append_string’:
../../nsswitch/pam_winbind.c:1105:15: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
 1105 |         len = strlcat(dest, src, dest_buffer_size);
      |               ^~~~~~~
      |               strncat
../../nsswitch/pam_winbind.c: In function ‘winbind_name_to_sid_string’:
../../nsswitch/pam_winbind.c:1130:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1130 |                 strlcpy(sid_string, name, sizeof(sid_string));
      |                 ^~~~~~~
      |                 strncpy
../../nsswitch/pam_winbind.c: In function ‘_pam_delete’:
../../nsswitch/pam_winbind.c:2159:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2159:9: note: declared here
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2159:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2159:9: note: declared here
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2159:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2159:9: note: declared here
 2159 |         _pam_overwrite(xx);
      |         ^~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c: In function ‘_winbind_read_password’:
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2269:25: note: declared here
 2269 |                         _pam_drop_reply(resp, i);
      |                         ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: warning: ‘reply_i’ is deprecated [-Wdeprecated-declarations]
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~
../../nsswitch/pam_winbind.c:2299:17: note: declared here
 2299 |                 _pam_drop_reply(resp, i);
      |                 ^~~~~~~~~~~~~~~

In file included from ../../nsswitch/wbinfo.c:32:
../../nsswitch/wbinfo.c: In function ‘parse_wbinfo_domain_user’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../nsswitch/wbinfo.c:125:25: note: in expansion of macro ‘fstrcpy’
  125 |                         fstrcpy(domain, "");
      |                         ^~~~~~~

In file included from ../../lib/util/tests/test_util.c:32:
../../lib/util/util.c: In function ‘directory_create_or_exists_recursive’:
../../lib/util/util.c:273:29: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  273 |                         n = strlcpy(tmp, dname, sizeof(tmp));
      |                             ^~~~~~~
      |                             strncpy
../../lib/util/tests/test_util.c: In function ‘group_setup’:
../../lib/util/tests/test_util.c:59:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   59 |         strlcat(paths->testdir, "/test_util_XXXXXX", sizeof(paths->testdir));
      |         ^~~~~~~
      |         strncat

../../lib/util/tests/test_logging.c: In function ‘init_daemon’:
../../lib/util/tests/test_logging.c:85:9: warning: implicit declaration of function ‘setproctitle’ [-Wimplicit-function-declaration]
   85 |         setproctitle(BINARY_NAME);
      |         ^~~~~~~~~~~~
../../lib/util/tests/test_logging.c: In function ‘main’:
../../lib/util/tests/test_logging.c:130:9: warning: implicit declaration of function ‘setproctitle_init’ [-Wimplicit-function-declaration]
  130 |         setproctitle_init(argc, discard_const(argv), environ);
      |         ^~~~~~~~~~~~~~~~~

../../lib/util/tests/test_logging.c: In function ‘init_daemon’:
../../lib/util/tests/test_logging.c:85:9: warning: implicit declaration of function ‘setproctitle’ [-Wimplicit-function-declaration]
   85 |         setproctitle(BINARY_NAME);
      |         ^~~~~~~~~~~~
../../lib/util/tests/test_logging.c: In function ‘main’:
../../lib/util/tests/test_logging.c:130:9: warning: implicit declaration of function ‘setproctitle_init’ [-Wimplicit-function-declaration]
  130 |         setproctitle_init(argc, discard_const(argv), environ);
      |         ^~~~~~~~~~~~~~~~~

../../source4/torture/basic/mangle_test.c: In function ‘gen_name’:
../../source4/torture/basic/mangle_test.c:150:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  150 |                 strlcpy(p, "ABCDE", 6);
      |                 ^~~~~~~
      |                 strncpy

../../source4/torture/raw/eas.c: In function ‘test_eas’:
../../source4/torture/raw/eas.c:168:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  168 |         strlcpy(bad_ea_name, "TEST_X", sizeof(bad_ea_name));
      |         ^~~~~~~
      |         strncpy

../../source4/torture/smb2/mangle.c: In function ‘gen_name’:
../../source4/torture/smb2/mangle.c:189:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  189 |                 strlcpy(p, "ABCDE", 6);
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source4/torture/winbind/struct_based.c:32:
../../source4/torture/winbind/struct_based.c: In function ‘torture_winbind_struct_domain_info’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source4/torture/winbind/struct_based.c:460:17: note: in expansion of macro ‘fstrcpy’
  460 |                 fstrcpy(req.domain_name, listd[i].netbios_name);
      |                 ^~~~~~~

../../source4/torture/libsmbclient/libsmbclient.c: In function ‘auth_callback’:
../../source4/torture/libsmbclient/libsmbclient.c:61:23: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   61 |                 ret = strlcpy(wg, workgroup, wglen);
      |                       ^~~~~~~
      |                       strncpy

../../source4/lib/messaging/tests/irpc.c: In function ‘test_addone’:
../../source4/lib/messaging/tests/irpc.c:109:9: warning: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated [-Wdeprecated-declarations]
  109 |         dcerpc_binding_handle_set_sync_ev(irpc_handle, data->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/librpc/rpc/dcerpc.h:33,
                 from ./librpc/gen_ndr/ndr_echo_c.h:1,
                 from ../../source4/lib/messaging/tests/irpc.c:26:
../../source4/../librpc/rpc/rpc_common.h:245:19: note: declared here
  245 | _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle *h,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../source4/lib/messaging/tests/irpc.c: In function ‘test_echodata’:
../../source4/lib/messaging/tests/irpc.c:148:9: warning: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated [-Wdeprecated-declarations]
  148 |         dcerpc_binding_handle_set_sync_ev(irpc_handle, data->ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../source4/../librpc/rpc/rpc_common.h:245:19: note: declared here
  245 | _DEPRECATED_ void dcerpc_binding_handle_set_sync_ev(struct dcerpc_binding_handle *h,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../lib/talloc/testsuite.c: In function ‘test_memlimit’:
../../lib/talloc/testsuite.c:1628:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1628 |         torture_assert("memlimit", talloc_set_memlimit(l1, 2048) == 0,
      |         ^~~~~~~~~~~~~~
In file included from ../../lib/talloc/testsuite.c:28:
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1688:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1688 |         torture_assert("memlimit", talloc_set_memlimit(l3, 1024) == 0,
      |         ^~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1701:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1701 |         torture_assert("memlimit", talloc_set_memlimit(l4, 512) == 0,
      |         ^~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1735:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1735 |         torture_assert("memlimit", talloc_set_memlimit(l4, 512) == 0,
      |         ^~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1768:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1768 |         talloc_set_memlimit(pool, 10*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1821:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1821 |         talloc_set_memlimit(pool, 11*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1833:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1833 |         talloc_set_memlimit(pool, 21*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1871:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1871 |         talloc_set_memlimit(pool, 1024);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~
../../lib/talloc/testsuite.c:1892:9: warning: ‘talloc_set_memlimit’ is deprecated [-Wdeprecated-declarations]
 1892 |         talloc_set_memlimit(pool, 10*1024);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/talloc.h:1951:14: note: declared here
 1951 | _PUBLIC_ int talloc_set_memlimit(const void *ctx, size_t max_size) _DEPRECATED_;
      |              ^~~~~~~~~~~~~~~~~~~

../../lib/util/tests/str.c: In function ‘test_string_sub_simple’:
../../lib/util/tests/str.c:29:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   29 |         strlcpy(tmp, "foobar", sizeof(tmp));
      |         ^~~~~~~
      |         strncpy

../../lib/tevent/testsuite.c: In function ‘test_wrapper’:
../../lib/tevent/testsuite.c:1716:9: warning: ‘_tevent_context_wrapper_create’ is deprecated [-Wdeprecated-declarations]
 1716 |         wrap_ev = tevent_context_wrapper_create(
      |         ^~~~~~~
In file included from ../../lib/tevent/testsuite.c:29:
../../lib/tevent/tevent.h:2875:24: note: declared here
 2875 | struct tevent_context *_tevent_context_wrapper_create(struct tevent_context *main_ev,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c:1760:9: warning: ‘_tevent_context_push_use’ is deprecated [-Wdeprecated-declarations]
 1760 |         ret2 = tevent_context_push_use(wrap_ev);
      |         ^~~~
../../lib/tevent/tevent.h:2954:6: note: declared here
 2954 | bool _tevent_context_push_use(struct tevent_context *ev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c:1762:9: warning: ‘_tevent_context_push_use’ is deprecated [-Wdeprecated-declarations]
 1762 |         ret2 = tevent_context_push_use(ev);
      |         ^~~~
../../lib/tevent/tevent.h:2954:6: note: declared here
 2954 | bool _tevent_context_push_use(struct tevent_context *ev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c:1764:9: warning: ‘_tevent_context_pop_use’ is deprecated [-Wdeprecated-declarations]
 1764 |         tevent_context_pop_use(ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2983:6: note: declared here
 2983 | void _tevent_context_pop_use(struct tevent_context *ev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c:1765:9: warning: ‘_tevent_context_pop_use’ is deprecated [-Wdeprecated-declarations]
 1765 |         tevent_context_pop_use(wrap_ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2983:6: note: declared here
 2983 | void _tevent_context_pop_use(struct tevent_context *ev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c:1794:9: warning: ‘_tevent_context_pop_use’ is deprecated [-Wdeprecated-declarations]
 1794 |         tevent_context_pop_use(wrap_ev);
      |         ^~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2983:6: note: declared here
 2983 | void _tevent_context_pop_use(struct tevent_context *ev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/testsuite.c: In function ‘test_free_wrapper’:
../../lib/tevent/testsuite.c:1889:9: warning: ‘_tevent_context_wrapper_create’ is deprecated [-Wdeprecated-declarations]
 1889 |         wrap_ev = tevent_context_wrapper_create(
      |         ^~~~~~~
../../lib/tevent/tevent.h:2875:24: note: declared here
 2875 | struct tevent_context *_tevent_context_wrapper_create(struct tevent_context *main_ev,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../source4/torture/masktest.c: In function ‘testpair’:
../../source4/torture/masktest.c:182:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  182 |         strlcpy(res1, "---", sizeof(res1));
      |         ^~~~~~~
      |         strncpy

../../source4/client/client.c: In function ‘add_to_do_list_queue’:
../../source4/client/client.c:482:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  482 |                 strlcpy(do_list_queue + do_list_queue_end, entry,
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../libcli/auth/tests/test_encode_decode.c:27:
../../libcli/auth/smbencrypt.c: In function ‘E_deshash’:
../../libcli/auth/smbencrypt.c:129:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  129 |                 strlcpy((char *)dospwd, passwd ? passwd : "", sizeof(dospwd));
      |                 ^~~~~~~
      |                 strncpy

../../third_party/heimdal/kdc/krb5tgs.c: In function ‘fix_transited_encoding’:
../../third_party/heimdal/kdc/krb5tgs.c:501:21: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  501 |                     strlcat(rs, ", ", l);
      |                     ^~~~~~~
      |                     strncat

../../third_party/heimdal/kdc/kerberos5.c: In function ‘_kdc_log_timestamp’:
../../third_party/heimdal/kdc/kerberos5.c:532:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  532 |         strlcpy(starttime_str, "unset", sizeof(starttime_str));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/libnet/libnet_dssync_passdb.c:32:
../../source3/libnet/libnet_dssync_passdb.c: In function ‘handle_account_object’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/libnet/libnet_dssync_passdb.c:1391:9: note: in expansion of macro ‘fstrcpy’
 1391 |         fstrcpy(account, sAMAccountName);
      |         ^~~~~~~

../../source3/smbd/server.c: In function ‘main’:
../../source3/smbd/server.c:1840:9: warning: implicit declaration of function ‘setproctitle_init’ [-Wimplicit-function-declaration]
 1840 |         setproctitle_init(argc, discard_const(argv), environ);
      |         ^~~~~~~~~~~~~~~~~

In file included from ../../source3/client/client.c:42:
../../source3/client/client.c: In function ‘perms_to_string’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/client/client.c:3787:9: note: in expansion of macro ‘fstrcpy’
 3787 |         fstrcpy(permstr, "---");
      |         ^~~~~~~

../../source3/client/clitar.c: In function ‘make_remote_path’:
../../source3/client/clitar.c:1656:17: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
 1656 |                 strlcat(subpath, p, len);
      |                 ^~~~~~~
      |                 strncat

../../source3/client/smbspool.c: In function ‘kerberos_ccache_is_valid’:
../../source3/client/smbspool.c:647:25: warning: ‘krb5_free_unparsed_name’ is deprecated [-Wdeprecated-declarations]
  647 |                         krb5_free_unparsed_name(ctx, princ_name);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/heimdal/lib/krb5/krb5.h:1021,
                 from ../../lib/replace/system/kerberos.h:33,
                 from ../../source3/client/smbspool.c:28:
third_party/heimdal/lib/krb5/krb5-protos.h:3774:1: note: declared here
 3774 | krb5_free_unparsed_name (
      | ^~~~~~~~~~~~~~~~~~~~~~~

../../source3/libsmb/pylibsmb.c: In function ‘py_cli_state_setup_mt_ev’:
../../source3/libsmb/pylibsmb.c:273:9: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
  273 |         PyEval_InitThreads();
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.11/Python.h:95,
                 from ../../lib/replace/system/python.h:27,
                 from ../../source3/libsmb/pylibsmb.c:48:
/usr/include/python3.11/ceval.h:132:37: note: declared here
  132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~

../../source3/modules/vfs_virusfilter_utils.c: In function ‘virusfilter_io_connect_path’:
../../source3/modules/vfs_virusfilter_utils.c:165:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  165 |         len = strlcpy(addr.sun_path, path, sizeof(addr.sun_path));
      |               ^~~~~~~
      |               strncpy

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/modules/vfs_full_audit.c:65:
../../source3/modules/vfs_full_audit.c: In function ‘do_log’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/modules/vfs_full_audit.c:610:17: note: in expansion of macro ‘fstrcpy’
  610 |                 fstrcpy(err_msg, "ok");
      |                 ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/modules/test_vfs_full_audit.c:24:
../../source3/modules/vfs_full_audit.c: In function ‘do_log’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/modules/vfs_full_audit.c:610:17: note: in expansion of macro ‘fstrcpy’
  610 |                 fstrcpy(err_msg, "ok");
      |                 ^~~~~~~

../../source3/modules/vfs_recycle.c: In function ‘recycle_create_dir’:
../../source3/modules/vfs_recycle.c:295:21: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  295 |                 if (strlcat(new_dir,"/",len+1) >= len+1) {
      |                     ^~~~~~~
      |                     strncat

../../source3/modules/vfs_shadow_copy.c: In function ‘shadow_copy_get_shadow_copy_data’:
../../source3/modules/vfs_shadow_copy.c:228:23: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  228 |                 ret = strlcpy(tlabels[shadow_copy_data->num_volumes], dname,
      |                       ^~~~~~~
      |                       strncpy

../../source3/modules/vfs_shadow_copy2.c: In function ‘shadow_copy2_get_shadow_copy_data’:
../../source3/modules/vfs_shadow_copy2.c:2314:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 2314 |                 strlcpy(tlabels[shadow_copy2_data->num_volumes], snapshot,
      |                 ^~~~~~~
      |                 strncpy

../../source3/modules/vfs_btrfs.c: In function ‘btrfs_snap_create’:
../../source3/modules/vfs_btrfs.c:742:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  742 |         len = strlcpy(ioctl_arg.name, dest_subvolume,
      |               ^~~~~~~
      |               strncpy

../../source3/modules/vfs_virusfilter.c: In function ‘quarantine_create_dir’:
../../source3/modules/vfs_virusfilter.c:134:27: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  134 |                 cat_len = strlcat(new_dir, "/", len + 1);
      |                           ^~~~~~~
      |                           strncat

../../source3/rpc_server/rpc_host.c: In function ‘rpc_host_generate_npa_info8_from_sock’:
../../source3/rpc_server/rpc_host.c:846:23: warning: implicit declaration of function ‘getpeereid’; did you mean ‘getgrgid’? [-Wimplicit-function-declaration]
  846 |                 ret = getpeereid(sock, &uid, &gid);
      |                       ^~~~~~~~~~
      |                       getgrgid

../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c: In function ‘_mdssvc_open’:
../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:137:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  137 |         strlcpy(outpath, fake_path, 1024);
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/winbindd/idmap_autorid.c:83:
../../source3/winbindd/idmap_autorid.c: In function ‘idmap_autorid_get_alloc_range’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/winbindd/idmap_autorid.c:102:9: note: in expansion of macro ‘fstrcpy’
  102 |         fstrcpy(range->domsid, ALLOC_RANGE);
      |         ^~~~~~~

../../source3/winbindd/winbindd.c: In function ‘main’:
../../source3/winbindd/winbindd.c:1350:9: warning: implicit declaration of function ‘setproctitle_init’ [-Wimplicit-function-declaration]
 1350 |         setproctitle_init(argc, discard_const(argv), environ);
      |         ^~~~~~~~~~~~~~~~~

../../examples/libsmbclient/testsmbc.c: In function ‘main’:
../../examples/libsmbclient/testsmbc.c:42:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   42 |         err = smbc_init(get_auth_data_fn,  10); /* Initialize things */
      |         ^~~
In file included from ../../examples/libsmbclient/testsmbc.c:29:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testacl.c: In function ‘main’:
../../examples/libsmbclient/testacl.c:193:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
  193 |         if (smbc_init(get_auth_data_fn, debug) != 0)
      |         ^~
In file included from ../../examples/libsmbclient/testacl.c:5:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testacl2.c: In function ‘main’:
../../examples/libsmbclient/testacl2.c:30:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   30 |         if (smbc_init(get_auth_data_fn, debug) != 0)
      |         ^~
In file included from ../../examples/libsmbclient/testacl2.c:5:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testacl3.c: In function ‘main’:
../../examples/libsmbclient/testacl3.c:21:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   21 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testacl3.c:7:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testnotify.c: In function ‘main’:
../../examples/libsmbclient/testnotify.c:42:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   42 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testnotify.c:7:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/teststat2.c: In function ‘gettime’:
../../examples/libsmbclient/teststat2.c:42:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   42 |         smbc_init(get_auth_data_fn, 0);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/teststat2.c:1:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/teststat3.c: In function ‘main’:
../../examples/libsmbclient/teststat3.c:29:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   29 |         smbc_init(get_auth_data_fn, 0);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/teststat3.c:1:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/teststatvfs.c: In function ‘main’:
../../examples/libsmbclient/teststatvfs.c:20:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   20 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/teststatvfs.c:8:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testfstatvfs.c: In function ‘main’:
../../examples/libsmbclient/testfstatvfs.c:22:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   22 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testfstatvfs.c:8:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testtruncate.c: In function ‘main’:
../../examples/libsmbclient/testtruncate.c:27:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   27 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testtruncate.c:6:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testchmod.c: In function ‘main’:
../../examples/libsmbclient/testchmod.c:37:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   37 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testchmod.c:5:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testutime.c: In function ‘main’:
../../examples/libsmbclient/testutime.c:42:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   42 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testutime.c:6:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testread.c: In function ‘main’:
../../examples/libsmbclient/testread.c:21:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   21 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testread.c:7:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

../../examples/libsmbclient/testwrite.c: In function ‘main’:
../../examples/libsmbclient/testwrite.c:21:9: warning: ‘smbc_init’ is deprecated [-Wdeprecated-declarations]
   21 |         smbc_init(get_auth_data_fn, debug);
      |         ^~~~~~~~~
In file included from ../../examples/libsmbclient/testwrite.c:7:
include/public/libsmbclient.h:1293:5: note: declared here
 1293 | int smbc_init(smbc_get_auth_data_fn fn, int debug);
      |     ^~~~~~~~~

In file included from ../../source3/rpcclient/cmd_srvsvc.c:28:
../../source3/rpcclient/cmd_srvsvc.c: In function ‘get_server_type_str’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/rpcclient/cmd_srvsvc.c:38:17: note: in expansion of macro ‘fstrcpy’
   38 |                 fstrcpy(typestr, "All");
      |                 ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/rpcclient/cmd_srvsvc.c:48:33: note: in expansion of macro ‘fstrcat’
   48 |                                 fstrcat(typestr, "Wk ");
      |                                 ^~~~~~~

In file included from ../../source3/rpcclient/cmd_spoolss.c:37:
../../source3/rpcclient/cmd_spoolss.c: In function ‘cmd_spoolss_getprinterdata’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/rpcclient/cmd_spoolss.c:918:17: note: in expansion of macro ‘fstrcpy’
  918 |                 fstrcpy(printername, cli->srv_name_slash);
      |                 ^~~~~~~

In file included from ../../source3/utils/smbcontrol.c:40:
../../source3/utils/smbcontrol.c: In function ‘my_make_nmb_name’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/smbcontrol.c:1388:9: note: in expansion of macro ‘fstrcpy’
 1388 |         fstrcpy(unix_name, name);
      |         ^~~~~~~

../../source3/utils/smbtree.c: In function ‘get_auth_data_with_context_fn’:
../../source3/utils/smbtree.c:52:15: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   52 |         len = strlcpy(domain, cli_credentials_get_domain(creds), domain_len);
      |               ^~~~~~~
      |               strncpy

In file included from ../../source3/utils/smbpasswd.c:28:
../../source3/utils/smbpasswd.c: In function ‘process_options’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/smbpasswd.c:159:25: note: in expansion of macro ‘fstrcpy’
  159 |                         fstrcpy(ldap_secret, optarg);
      |                         ^~~~~~~

In file included from ../../source3/utils/nmblookup.c:26:
../../source3/utils/nmblookup.c: In function ‘node_status_flags’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/nmblookup.c:78:9: note: in expansion of macro ‘fstrcpy’
   78 |         fstrcpy(ret,"");
      |         ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/nmblookup.c:80:9: note: in expansion of macro ‘fstrcat’
   80 |         fstrcat(ret, (flags & 0x80) ? " " : "        ");
      |         ^~~~~~~

In file included from ../../source3/utils/eventlogadm.c:34:
../../source3/utils/eventlogadm.c: In function ‘main’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/eventlogadm.c:440:9: note: in expansion of macro ‘fstrcpy’
  440 |         fstrcpy( opname, "write" );     /* the default */
      |         ^~~~~~~

In file included from ../../source3/utils/sharesec.c:32:
../../source3/utils/sharesec.c: In function ‘main’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/sharesec.c:585:9: note: in expansion of macro ‘fstrcpy’
  585 |         fstrcpy(sharename, poptGetArg(pc));
      |         ^~~~~~~

In file included from ../../source3/utils/ntlm_auth.c:51:
../../source3/utils/ntlm_auth.c: In function ‘get_winbind_domain’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/ntlm_auth.c:334:9: note: in expansion of macro ‘fstrcpy’
  334 |         fstrcpy(winbind_domain, details->netbios_domain);
      |         ^~~~~~~

In file included from ../../source3/utils/net_rpc_printer.c:35:
../../source3/utils/net_rpc_printer.c: In function ‘net_spoolss_open_printer_ex’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc_printer.c:712:9: note: in expansion of macro ‘fstrcpy’
  712 |         fstrcpy(printername2, pipe_hnd->srv_name_slash);
      |         ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc_printer.c:713:9: note: in expansion of macro ‘fstrcat’
  713 |         fstrcat(printername2, "\\");
      |         ^~~~~~~

In file included from ../../source3/utils/net_groupmap.c:29:
../../source3/utils/net_groupmap.c: In function ‘net_groupmap_list’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_groupmap.c:120:25: note: in expansion of macro ‘fstrcpy’
  120 |                         fstrcpy( ntgroup, get_string_param( argv[i] ) );
      |                         ^~~~~~~

In file included from ../../source3/utils/net_rpc_rights.c:27:
../../source3/utils/net_rpc_rights.c: In function ‘sid_to_name’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc_rights.c:55:25: note: in expansion of macro ‘fstrcpy’
   55 |                         fstrcpy( name, names[0] );
      |                         ^~~~~~~

../../source3/utils/clirap2.c: In function ‘cli_NetWkstaUserLogoff’:
../../source3/utils/clirap2.c:1742:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 1742 |         strlcpy(upperbuf, user, sizeof(upperbuf));
      |         ^~~~~~~
      |         strncpy

../../source3/utils/net_rap.c: In function ‘rap_share_add’:
../../source3/utils/net_rap.c:253:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  253 |         strlcpy((char *)sinfo.share_name, sharename, sizeof(sinfo.share_name));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/utils/net_sam.c:35:
../../source3/utils/net_sam.c: In function ‘net_sam_createbuiltingroup’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_sam.c:1158:9: note: in expansion of macro ‘fstrcpy’
 1158 |         fstrcpy( groupname, "BUILTIN\\" );
      |         ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_sam.c:1159:9: note: in expansion of macro ‘fstrcat’
 1159 |         fstrcat( groupname, argv[0] );
      |         ^~~~~~~

In file included from ../../source3/utils/net_rpc.c:51:
../../source3/utils/net_rpc.c: In function ‘copy_fn’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc.c:3993:17: note: in expansion of macro ‘fstrcpy’
 3993 |                 fstrcpy(dir, local_state->cwd);
      |                 ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc.c:3994:17: note: in expansion of macro ‘fstrcat’
 3994 |                 fstrcat(dir, "\\");
      |                 ^~~~~~~

In file included from ../../source3/utils/net_rpc_service.c:24:
../../source3/utils/net_rpc_service.c: In function ‘svc_status_string’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_rpc_service.c:54:25: note: in expansion of macro ‘fstrcpy’
   54 |                         fstrcpy( msg, state_msg_table[i].message );
      |                         ^~~~~~~

In file included from ../../source3/utils/net_usershare.c:26:
../../source3/utils/net_usershare.c: In function ‘net_usershare_info’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/net_usershare.c:515:9: note: in expansion of macro ‘fstrcpy’
  515 |         fstrcpy(wcard, "*");
      |         ^~~~~~~

In file included from ../../source3/smbd/smb1_utils.h:28,
                 from ../../source3/smbd/smbd.h:44,
                 from ../../source3/utils/status.c:46:
../../source3/utils/status.c: In function ‘traverse_sessionid’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/status.c:750:25: note: in expansion of macro ‘fstrcpy’
  750 |                         fstrcpy(uid_gid_str, "(auth in progress)");
      |                         ^~~~~~~

In file included from ../../source3/utils/status_json.c:31:
../../source3/utils/status_json.c: In function ‘lease_key_to_str’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/utils/status_json.c:796:9: note: in expansion of macro ‘fstrcpy’
  796 |         fstrcpy(lease_str, tmp);
      |         ^~~~~~~

In file included from ../../source3/nmbd/nmbd_synclists.c:35:
../../source3/nmbd/nmbd_synclists.c: In function ‘sync_child’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_synclists.c:124:9: note: in expansion of macro ‘fstrcpy’
  124 |         fstrcpy(unix_workgroup, cli->server_domain ? cli->server_domain : workgroup);
      |         ^~~~~~~

In file included from ../../source3/nmbd/nmbd_browserdb.c:31:
../../source3/nmbd/nmbd_browserdb.c: In function ‘create_browser_in_lmb_cache’:
../../lib/util/string_wrappers.h:51:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   51 |         strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(unstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_browserdb.c:111:9: note: in expansion of macro ‘unstrcpy’
  111 |         unstrcpy( browc->lmb_name, browser_name);
      |         ^~~~~~~~

In file included from ../../source3/nmbd/nmbd_serverlistdb.c:27:
../../source3/nmbd/nmbd_serverlistdb.c: In function ‘create_server_on_workgroup’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_serverlistdb.c:121:9: note: in expansion of macro ‘fstrcpy’
  121 |         fstrcpy(servrec->serv.name,name);
      |         ^~~~~~~

../../source3/nmbd/nmbd_become_lmb.c: In function ‘become_local_master_browser’:
../../source3/nmbd/nmbd_become_lmb.c:549:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  549 |         strlcpy(userdata->data, work->work_group, size - sizeof(*userdata));
      |         ^~~~~~~
      |         strncpy

../../source3/nmbd/nmbd_sendannounce.c: In function ‘send_announcement’:
../../source3/nmbd/nmbd_sendannounce.c:109:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  109 |         strlcpy(upper_server_name, server_name ? server_name : "", sizeof(upper_server_name));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/nmbd/nmbd_incomingdgrams.c:26:
../../source3/nmbd/nmbd_incomingdgrams.c: In function ‘process_host_announce’:
../../lib/util/string_wrappers.h:51:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   51 |         strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(unstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_incomingdgrams.c:148:17: note: in expansion of macro ‘unstrcpy’
  148 |                 unstrcpy(work_name,lp_workgroup());
      |                 ^~~~~~~~

In file included from ../../source3/nmbd/nmbd_packets.c:28:
../../source3/nmbd/nmbd_packets.c: In function ‘initiate_multihomed_name_register_packet’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_packets.c:370:9: note: in expansion of macro ‘fstrcpy’
  370 |         fstrcpy(second_ip_buf, inet_ntoa(packet->ip));
      |         ^~~~~~~

In file included from ../../source3/nmbd/nmbd_nameregister.c:25:
../../source3/nmbd/nmbd_nameregister.c: In function ‘register_name_response’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_nameregister.c:56:9: note: in expansion of macro ‘fstrcpy’
   56 |         fstrcpy(reg_name, inet_ntoa(register_ip));
      |         ^~~~~~~

In file included from ../../source3/nmbd/nmbd_browsesync.c:25:
../../source3/nmbd/nmbd_browsesync.c: In function ‘announce_local_master_browser_to_domain_master_browser’:
../../lib/util/string_wrappers.h:51:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   51 |         strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(unstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_browsesync.c:123:9: note: in expansion of macro ‘unstrcpy’
  123 |         unstrcpy(myname, lp_netbios_name());
      |         ^~~~~~~~

In file included from ../../source3/nmbd/nmbd_elections.c:25:
../../source3/nmbd/nmbd_elections.c: In function ‘send_election_dgram’:
../../lib/util/string_wrappers.h:51:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   51 |         strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(unstring)); \
      |         ^~~~~~~
../../source3/nmbd/nmbd_elections.c:53:9: note: in expansion of macro ‘unstrcpy’
   53 |         unstrcpy(srv_name, server_name);
      |         ^~~~~~~~

../../source3/nmbd/nmbd_workgroupdb.c: In function ‘name_to_unstring’:
../../source3/nmbd/nmbd_workgroupdb.c:56:17: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   56 |                 strlcpy(unname, tname, sizeof(nname));
      |                 ^~~~~~~
      |                 strncpy

In file included from ../../source3/torture/locktest2.c:25:
../../source3/torture/locktest2.c: In function ‘connect_one’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/torture/locktest2.c:184:9: note: in expansion of macro ‘fstrcpy’
  184 |         fstrcpy(server,share+2);
      |         ^~~~~~~

../../source3/torture/wbc_async.c: In function ‘wb_connect_send’:
../../source3/torture/wbc_async.c:249:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  249 |         strlcpy(sunaddr.sun_path, path, sizeof(sunaddr.sun_path));
      |         ^~~~~~~
      |         strncpy

In file included from ../../source3/torture/utable.c:26:
../../source3/torture/utable.c: In function ‘torture_utable’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/torture/utable.c:54:17: note: in expansion of macro ‘fstrcpy’
   54 |                 fstrcpy(fname, "\\utable\\x");
      |                 ^~~~~~~
../../lib/util/string_wrappers.h:46:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   46 |         strlcat((d),_fstrcat_src ? _fstrcat_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/torture/utable.c:64:17: note: in expansion of macro ‘fstrcat’
   64 |                 fstrcat(fname,"_a_long_extension");
      |                 ^~~~~~~

In file included from ../../source3/torture/mangle_test.c:26:
../../source3/torture/mangle_test.c: In function ‘gen_name’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/torture/mangle_test.c:128:9: note: in expansion of macro ‘fstrcpy’
  128 |         fstrcpy(name, "\\mangle_test\\");
      |         ^~~~~~~

In file included from ../../source3/torture/torture.c:55:
../../source3/torture/torture.c: In function ‘mangle_illegal_list_name_fn’:
../../lib/util/string_wrappers.h:40:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   40 |         strlcpy((d),_fstrcpy_src ? _fstrcpy_src : "",sizeof(fstring)); \
      |         ^~~~~~~
../../source3/torture/torture.c:11166:9: note: in expansion of macro ‘fstrcpy’
11166 |         fstrcpy(name, f->name);
      |         ^~~~~~~
../../source3/torture/torture.c: In function ‘run_shortname_test’:
../../source3/torture/torture.c:12144:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
12144 |         if (strlcat(fname, "test .txt", sizeof(fname)) >= sizeof(fname)) {
      |             ^~~~~~~
      |             strncat

../../source3/torture/test_chain3.c: In function ‘chain3_andx_send’:
../../source3/torture/test_chain3.c:55:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   55 |         strlcpy(state->str, "hello", sizeof(state->str));
      |         ^~~~~~~
      |         strncpy

../../source3/torture/msgtest.c: In function ‘main’:
../../source3/torture/msgtest.c:91:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   91 |         strlcpy(buf, "1234567890", sizeof(buf));
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/base/warn.c: In function ‘_warnerr’:
../../third_party/heimdal/lib/base/warn.c:59:9: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
   59 |         strlcat(xfmt, "%s", sizeof(xfmt));
      |         ^~~~~~~
      |         strncat

../../third_party/heimdal/lib/base/log.c: In function ‘heim_addlog_dest’:
../../third_party/heimdal/lib/base/log.c:431:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  431 |             strlcpy(severity, "ERR", sizeof(severity));
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/krb5/keytab_file.c: In function ‘fkt_get_name’:
../../third_party/heimdal/lib/krb5/keytab_file.c:339:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  339 |     strlcpy(name, d->filename, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_any.c: In function ‘any_get_name’:
../../third_party/heimdal/lib/krb5/keytab_any.c:104:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  104 |     strlcpy(name, a->name, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab.c: In function ‘krb5_kt_default_name’:
../../third_party/heimdal/lib/krb5/keytab.c:274:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  274 |     if (strlcpy (name, default_ktname(context), namesize) >= namesize) {
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/init_creds_pw.c: In function ‘change_password’:
../../third_party/heimdal/lib/krb5/init_creds_pw.c:720:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  720 |         strlcpy (newpw, buf1, newpw_sz);
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/addr_families.c: In function ‘ipv6_print_addr’:
../../third_party/heimdal/lib/krb5/addr_families.c:363:21: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  363 |                     strlcat(buf, ":", sizeof(buf));
      |                     ^~~~~~~
      |                     strncat
../../third_party/heimdal/lib/krb5/addr_families.c: In function ‘arange_parse_addr’:
../../third_party/heimdal/lib/krb5/addr_families.c:484:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  484 |         if (strlcpy(buf, address, sizeof(buf)) > sizeof(buf))
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/krb5/aname_to_localname.c: In function ‘an2ln_plugin’:
../../third_party/heimdal/lib/krb5/aname_to_localname.c:121:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  121 |     if (strlcpy(lname, heim_string_get_utf8(ctx.luser), lnsize) >= lnsize)
      |         ^~~~~~~
      |         strncpy

../../third_party/heimdal/lib/krb5/transited.c: In function ‘expand_realms’:
../../third_party/heimdal/lib/krb5/transited.c:183:13: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? [-Wimplicit-function-declaration]
  183 |             strlcat(r->realm, prev_realm, len);
      |             ^~~~~~~
      |             strncat
../../third_party/heimdal/lib/krb5/transited.c:195:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  195 |             strlcpy(tmp, prev_realm, len);
      |             ^~~~~~~
      |             strncpy

../../third_party/heimdal/lib/krb5/pkinit.c: In function ‘_krb5_parse_moduli’:
../../third_party/heimdal/lib/krb5/pkinit.c:2204:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
 2204 |     strlcpy(buf, default_moduli_rfc3526_MODP_group14, sizeof(buf));
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_memory.c: In function ‘mkt_get_name’:
../../third_party/heimdal/lib/krb5/keytab_memory.c:132:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  132 |     strlcpy(name, d->name, namesize);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/keytab_keyfile.c: In function ‘akf_get_name’:
../../third_party/heimdal/lib/krb5/keytab_keyfile.c:180:5: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  180 |     strlcpy (name, d->filename, name_sz);
      |     ^~~~~~~
      |     strncpy

../../third_party/heimdal/lib/krb5/krbhst.c: In function ‘srv_find_realm’:
../../third_party/heimdal/lib/krb5/krbhst.c:175:13: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
  175 |             strlcpy(hi->hostname, rr->u.srv->target, len + 1);
      |             ^~~~~~~
      |             strncpy

../../lib/ldb/common/ldb.c: In function ‘ldb_init’:
../../lib/ldb/common/ldb.c:121:17: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
  121 |                 tevent_loop_allow_nesting(ev_ctx);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/ldb/include/ldb.h:51,
                 from ../../lib/ldb/include/ldb_private.h:43,
                 from ../../lib/ldb/common/ldb.c:36:
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/ldb/common/ldb.c: In function ‘ldb_handle_new’:
../../lib/ldb/common/ldb.c:761:17: warning: ‘tevent_loop_allow_nesting’ is deprecated [-Wdeprecated-declarations]
  761 |                 tevent_loop_allow_nesting(h->event_context);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/tevent/tevent.h:2676:6: note: declared here
 2676 | void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~