diff options
author | midipix <writeonce@midipix.org> | 2024-03-25 02:18:43 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-25 02:18:43 +0000 |
commit | d4a2be8699ad197a213cbbc989dd206731bfb34a (patch) | |
tree | 70c986c1516a2c0bc3a8974b1a1d391d252832a3 /src/internal | |
parent | 8fb92c8e591e827b57a43738a0aa9be9e003d8cd (diff) | |
download | slibtool-d4a2be8699ad197a213cbbc989dd206731bfb34a.tar.bz2 slibtool-d4a2be8699ad197a213cbbc989dd206731bfb34a.tar.xz |
slbt_m4fake_expand_cmdarg(): update signature (change driver context to const).
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_m4fake_impl.c | 8 | ||||
-rw-r--r-- | src/internal/slibtool_m4fake_impl.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/internal/slibtool_m4fake_impl.c b/src/internal/slibtool_m4fake_impl.c index 4a46978..3bab8c8 100644 --- a/src/internal/slibtool_m4fake_impl.c +++ b/src/internal/slibtool_m4fake_impl.c @@ -15,10 +15,10 @@ #include "slibtool_m4fake_impl.h" slbt_hidden int slbt_m4fake_expand_cmdarg( - struct slbt_driver_ctx * dctx, - struct slbt_txtfile_ctx * sctx, - const char * cmdname, - char (*argbuf)[PATH_MAX]) + const struct slbt_driver_ctx * dctx, + struct slbt_txtfile_ctx * sctx, + const char * cmdname, + char (*argbuf)[PATH_MAX]) { const char ** pline; size_t slen; diff --git a/src/internal/slibtool_m4fake_impl.h b/src/internal/slibtool_m4fake_impl.h index af0de56..8bb2b5f 100644 --- a/src/internal/slibtool_m4fake_impl.h +++ b/src/internal/slibtool_m4fake_impl.h @@ -4,9 +4,9 @@ #include <slibtool/slibtool.h> int slbt_m4fake_expand_cmdarg( - struct slbt_driver_ctx * dctx, - struct slbt_txtfile_ctx * sctx, - const char * cmdname, - char (*argbuf)[PATH_MAX]); + const struct slbt_driver_ctx * dctx, + struct slbt_txtfile_ctx * sctx, + const char * cmdname, + char (*argbuf)[PATH_MAX]); #endif |