]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - lib/json_writer.c
remove redundant long int
[mirror_iproute2.git] / lib / json_writer.c
index 68890b34ee92f583ee9eb8497bcb7156adf14748..5779ec067daa2fd36019987e813c89605cc47fe8 100644 (file)
@@ -231,12 +231,12 @@ void jsonw_xint(json_writer_t *self, uint64_t num)
        jsonw_printf(self, "%"PRIx64, num);
 }
 
-void jsonw_luint(json_writer_t *self, unsigned long int num)
+void jsonw_luint(json_writer_t *self, unsigned long num)
 {
        jsonw_printf(self, "%lu", num);
 }
 
-void jsonw_lluint(json_writer_t *self, unsigned long long int num)
+void jsonw_lluint(json_writer_t *self, unsigned long long num)
 {
        jsonw_printf(self, "%llu", num);
 }
@@ -296,7 +296,7 @@ void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num)
 
 void jsonw_luint_field(json_writer_t *self,
                        const char *prop,
-                       unsigned long int num)
+                       unsigned long num)
 {
        jsonw_name(self, prop);
        jsonw_luint(self, num);
@@ -304,7 +304,7 @@ void jsonw_luint_field(json_writer_t *self,
 
 void jsonw_lluint_field(json_writer_t *self,
                        const char *prop,
-                       unsigned long long int num)
+                       unsigned long long num)
 {
        jsonw_name(self, prop);
        jsonw_lluint(self, num);