[njs] Making njs_function_frame_alloc() static.
Dmitry Volyntsev
xeioex at nginx.com
Thu Jan 10 17:25:02 UTC 2019
details: https://hg.nginx.org/njs/rev/112bd230858c
branches:
changeset: 725:112bd230858c
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Thu Jan 10 20:18:27 2019 +0300
description:
Making njs_function_frame_alloc() static.
diffstat:
njs/njs_function.c | 1 +
njs/njs_function.h | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r f62736ecfa8f -r 112bd230858c njs/njs_function.c
--- a/njs/njs_function.c Tue Jan 08 08:41:40 2019 +0800
+++ b/njs/njs_function.c Thu Jan 10 20:18:27 2019 +0300
@@ -8,6 +8,7 @@
#include <string.h>
+static njs_native_frame_t *njs_function_frame_alloc(njs_vm_t *vm, size_t size);
static njs_ret_t njs_normalize_args(njs_vm_t *vm, njs_value_t *args,
uint8_t *args_types, nxt_uint_t nargs);
diff -r f62736ecfa8f -r 112bd230858c njs/njs_function.h
--- a/njs/njs_function.h Tue Jan 08 08:41:40 2019 +0800
+++ b/njs/njs_function.h Thu Jan 10 20:18:27 2019 +0300
@@ -149,7 +149,6 @@ struct njs_frame_s {
njs_function_t *njs_function_alloc(njs_vm_t *vm);
njs_function_t *njs_function_value_copy(njs_vm_t *vm, njs_value_t *value);
-njs_native_frame_t *njs_function_frame_alloc(njs_vm_t *vm, size_t size);
njs_ret_t njs_function_arguments_object_init(njs_vm_t *vm,
njs_native_frame_t *frame);
njs_ret_t njs_function_rest_parameters_init(njs_vm_t *vm,
More information about the nginx-devel
mailing list