summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/b_cd.c2
-rw-r--r--src/b_echo.c2
-rw-r--r--src/b_exit.c2
-rw-r--r--src/b_export.c2
-rw-r--r--src/u_utils.c2
-rw-r--r--src/u_utils.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/b_cd.c b/src/b_cd.c
index f30e61f..441fc3c 100644
--- a/src/b_cd.c
+++ b/src/b_cd.c
@@ -45,7 +45,7 @@ uint8_t
b_cd(char *args[],
t_msh *msh)
{
- const uint64_t argc = get_argc((const char**)args);
+ const uint64_t argc = u_builtins_get_argc((const char**)args);
char *path;
if (argc >= 2)
diff --git a/src/b_echo.c b/src/b_echo.c
index a02dad5..7b998d7 100644
--- a/src/b_echo.c
+++ b/src/b_echo.c
@@ -81,7 +81,7 @@ uint8_t
b_echo(char *args[],
t_msh *msh)
{
- const uint64_t argc = get_argc((const char **)args);
+ const uint64_t argc = u_builtins_get_argc((const char **)args);
char **ptr;
char *str;
int8_t nopt;
diff --git a/src/b_exit.c b/src/b_exit.c
index 5f1c446..5384d25 100644
--- a/src/b_exit.c
+++ b/src/b_exit.c
@@ -26,7 +26,7 @@ uint8_t
t_msh *msh)
{
uint8_t ret;
- const uint64_t argc = get_argc((const char**)args);
+ const uint64_t argc = u_builtins_get_argc((const char**)args);
if (argc > 1)
{
diff --git a/src/b_export.c b/src/b_export.c
index c47a8fb..fc1657e 100644
--- a/src/b_export.c
+++ b/src/b_export.c
@@ -86,7 +86,7 @@ uint8_t
t_msh *msh)
{
/* TODO: norme */
- const uint64_t argc = get_argc((const char**)args);
+ const uint64_t argc = u_builtins_get_argc((const char**)args);
char **ptr;
char *varval;
/* char *varname; */
diff --git a/src/u_utils.c b/src/u_utils.c
index c95cbb0..20c5cfc 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -15,7 +15,7 @@
#include <stdint.h>
uint64_t
- get_argc(const char *args[])
+ u_builtins_get_argc(const char *args[])
{
uint64_t argc;
diff --git a/src/u_utils.h b/src/u_utils.h
index a02e7e6..d822343 100644
--- a/src/u_utils.h
+++ b/src/u_utils.h
@@ -15,6 +15,6 @@
#include <stdint.h>
-uint64_t get_argc(const char *args[]);
+uint64_t u_builtins_get_argc(const char *args[]);
#endif