[njs] Style.

Alexander Borisov alexander.borisov at nginx.com
Tue Dec 3 13:44:30 UTC 2019


details:   https://hg.nginx.org/njs/rev/da7cff928b80
branches:  
changeset: 1274:da7cff928b80
user:      Alexander Borisov <alexander.borisov at nginx.com>
date:      Tue Dec 03 16:44:03 2019 +0300
description:
Style.

diffstat:

 src/njs_diyfp.h |  4 ++--
 src/njs_value.c |  1 +
 src/njs_value.h |  6 ++----
 3 files changed, 5 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r afe38b7fabe4 -r da7cff928b80 src/njs_diyfp.h
--- a/src/njs_diyfp.h	Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_diyfp.h	Tue Dec 03 16:44:03 2019 +0300
@@ -19,8 +19,8 @@ typedef struct {
 
 
 typedef union {
-	double      d;
-	uint64_t    u64;
+    double      d;
+    uint64_t    u64;
 } njs_diyfp_conv_t;
 
 
diff -r afe38b7fabe4 -r da7cff928b80 src/njs_value.c
--- a/src/njs_value.c	Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_value.c	Tue Dec 03 16:44:03 2019 +0300
@@ -1251,6 +1251,7 @@ njs_value_to_object(njs_vm_t *vm, njs_va
     return NJS_ERROR;
 }
 
+
 void
 njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string)
 {
diff -r afe38b7fabe4 -r da7cff928b80 src/njs_value.h
--- a/src/njs_value.h	Tue Dec 03 16:43:04 2019 +0300
+++ b/src/njs_value.h	Tue Dec 03 16:44:03 2019 +0300
@@ -907,14 +907,12 @@ njs_int_t njs_value_property_delete(njs_
     njs_value_t *key, njs_value_t *removed);
 njs_int_t njs_value_to_object(njs_vm_t *vm, njs_value_t *value);
 
+void njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string);
+
 
 #include "njs_number.h"
 
 
-void
-njs_symbol_conversion_failed(njs_vm_t *vm, njs_bool_t to_string);
-
-
 njs_inline njs_int_t
 njs_value_to_number(njs_vm_t *vm, njs_value_t *value, double *dst)
 {


More information about the nginx-devel mailing list