summaryrefslogtreecommitdiff
path: root/src/libstdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstdbuf.c')
-rw-r--r--src/libstdbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstdbuf.c b/src/libstdbuf.c
index 3cb74260a..4350b4655 100644
--- a/src/libstdbuf.c
+++ b/src/libstdbuf.c
@@ -65,10 +65,10 @@
However I think it's just a buggy implementation due to the various
inconsistencies with write sizes and subsequent writes. */
-static const char *
+static char const *
fileno_to_name (const int fd)
{
- const char *ret = NULL;
+ char const *ret = NULL;
switch (fd)
{
@@ -90,7 +90,7 @@ fileno_to_name (const int fd)
}
static void
-apply_mode (FILE *stream, const char *mode)
+apply_mode (FILE *stream, char const *mode)
{
char *buf = NULL;
int setvbuf_mode;