summaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-06 22:46:29 +0000
committerng0 <ng0@n0.is>2019-09-06 22:46:29 +0000
commit6e599264ad13e8fc105493d74d7c11d46f8739ed (patch)
tree169bef1ecbade5a659831fb169f3ae6943af127f /src/regex
parent4f13bc15113021ebf71d5d81e99bc29f8a07fc9c (diff)
first step to remove plibc
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/gnunet-regex-simulation-profiler.c8
-rw-r--r--src/regex/test_regex_api.c2
-rw-r--r--src/regex/test_regex_integration.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c
index e8f6d867b..d82b7800a 100644
--- a/src/regex/gnunet-regex-simulation-profiler.c
+++ b/src/regex/gnunet-regex-simulation-profiler.c
@@ -205,17 +205,17 @@ update_meter (struct ProgressMeter *meter)
{
if (meter->completed == 0)
{
- FPRINTF (stdout, "%sProgress: [0%%", meter->startup_string);
+ fprintf (stdout, "%sProgress: [0%%", meter->startup_string);
}
else
- FPRINTF (stdout, "%d%%",
+ fprintf (stdout, "%d%%",
(int) (((float) meter->completed / meter->total) * 100));
}
else if (meter->completed % meter->dotnum == 0)
- FPRINTF (stdout, "%s", ".");
+ fprintf (stdout, "%s", ".");
if (meter->completed + 1 == meter->total)
- FPRINTF (stdout, "%d%%]\n", 100);
+ fprintf (stdout, "%d%%]\n", 100);
fflush (stdout);
}
meter->completed++;
diff --git a/src/regex/test_regex_api.c b/src/regex/test_regex_api.c
index 099f9f68c..7016bf9c4 100644
--- a/src/regex/test_regex_api.c
+++ b/src/regex/test_regex_api.c
@@ -64,7 +64,7 @@ static void
end_badly ()
{
die_task = NULL;
- FPRINTF (stderr, "%s", "Testcase failed (timeout).\n");
+ fprintf (stderr, "%s", "Testcase failed (timeout).\n");
GNUNET_REGEX_announce_cancel (a);
a = NULL;
GNUNET_REGEX_search_cancel (s);
diff --git a/src/regex/test_regex_integration.c b/src/regex/test_regex_integration.c
index d7a58b994..f264c4fae 100644
--- a/src/regex/test_regex_integration.c
+++ b/src/regex/test_regex_integration.c
@@ -75,7 +75,7 @@ end (void *cls)
static void
end_badly ()
{
- FPRINTF (stderr, "%s", "Testcase failed (timeout).\n");
+ fprintf (stderr, "%s", "Testcase failed (timeout).\n");
end (NULL);
ok = 1;
}