diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-30 14:18:46 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-30 14:18:46 +0000 |
| commit | ba6ae130cdf8f713cf4bf9a972a5d2b8e47b8c10 (patch) | |
| tree | 0a037dca49a48ee4c23eee3a52919a3857cccf82 | |
| parent | 47602bbffb3bfe0660f2fe6cf5ff085f840767cb (diff) | |
| download | s6-linux-utils-ba6ae130cdf8f713cf4bf9a972a5d2b8e47b8c10.tar.gz | |
Don't conflict with main_func in skalibs
Signed-off-by: Laurent Bercot <ska@appnovation.com>
| -rwxr-xr-x | tools/gen-multicall.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gen-multicall.sh b/tools/gen-multicall.sh index 7f820c3..130f5b0 100755 --- a/tools/gen-multicall.sh +++ b/tools/gen-multicall.sh @@ -20,14 +20,14 @@ cat <<EOF #include <$P/config.h> #include "s6ps.h" -typedef int main_func (int, char const *const *, char const *const *) ; -typedef main_func *main_func_ref ; +typedef int emain_func (int, char const *const *, char const *const *) ; +typedef emain_func *emain_func_ref ; typedef struct multicall_app_s multicall_app, *multicall_app_ref ; struct multicall_app_s { char const *name ; - main_func_ref mainf ; + emain_func_ref mainf ; } ; static int multicall_app_cmp (void const *a, void const *b) |
