Displaying 4 results from an estimated 4 matches for "5c783ef".
2015 Sep 29
0
[PATCH 4/4] lib: Remove unused header files.
...ude <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include <inttypes.h>
-#include <unistd.h>
#include <assert.h>
-#include <string.h>
#include "c-ctype.h"
diff --git a/src/file.c b/src/file.c
index b4af164..5c783ef 100644
--- a/src/file.c
+++ b/src/file.c
@@ -20,8 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
-#include <inttypes.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
@@ -34,7 +32,6 @@
#include "guestfs.h&qu...
2015 Sep 29
8
[PATCH 1/4] lib: actions: Remove some unused header files.
---
generator/c.ml | 2 --
1 file changed, 2 deletions(-)
diff --git a/generator/c.ml b/generator/c.ml
index 055b683..963cf21 100644
--- a/generator/c.ml
+++ b/generator/c.ml
@@ -1213,9 +1213,7 @@ and generate_client_actions hash () =
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...acks_message (guestfs_h *g, uint64_t event,
void
guestfs_int_call_callbacks_array (guestfs_h *g, uint64_t event,
- const uint64_t *array, size_t array_len)
+ const uint64_t *array, size_t array_len)
{
size_t i;
diff --git a/src/file.c b/src/file.c
index 5c783ef..d57c4e1 100644
--- a/src/file.c
+++ b/src/file.c
@@ -363,14 +363,14 @@ write_or_append (guestfs_h *g, const char *path,
int
guestfs_impl_write (guestfs_h *g, const char *path,
- const char *content, size_t size)
+ const char *content, size_t size)
{
return write_or_appe...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67