]> Dogcows Code - chaz/tar/blobdiff - src/create.c
tar: restore macros that are used in some cases
[chaz/tar] / src / create.c
index 0a6bacf183aac19b32ccb8acff57dd5696b39d30..9a4a282b7f09b94180702ee0c044f0447e7d28c2 100644 (file)
@@ -219,7 +219,7 @@ to_base256 (int negative, uintmax_t value, char *where, size_t size)
 #define MINOR_TO_CHARS(val, where) minor_to_chars (val, where, sizeof (where))
 #define MODE_TO_CHARS(val, where) mode_to_chars (val, where, sizeof (where))
 #define UID_TO_CHARS(val, where) uid_to_chars (val, where, sizeof (where))
-#define UINTMAX_TO_CHARS(val, where) uintmax_to_chars (val, where, sizeof (where))
+
 #define UNAME_TO_CHARS(name,buf) string_to_chars (name, buf, sizeof(buf))
 #define GNAME_TO_CHARS(name,buf) string_to_chars (name, buf, sizeof(buf))
 
@@ -440,12 +440,6 @@ off_to_chars (off_t v, char *p, size_t s)
   return to_chars (v < 0, (uintmax_t) v, sizeof v, 0, p, s, "off_t");
 }
 
-bool
-size_to_chars (size_t v, char *p, size_t s)
-{
-  return to_chars (0, (uintmax_t) v, sizeof v, 0, p, s, "size_t");
-}
-
 bool
 time_to_chars (time_t v, char *p, size_t s)
 {
This page took 0.025494 seconds and 4 git commands to generate.