emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c11b4758b7 8/9: valid_sp inline fix


From: Paul Eggert
Subject: master c11b4758b7 8/9: valid_sp inline fix
Date: Sat, 19 Mar 2022 15:49:04 -0400 (EDT)

branch: master
commit c11b4758b7bd971fcbb824638a06f52c7768d268
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    valid_sp inline fix
    
    * src/bytecode.c (valid_sp): static, not INLINE, as INLINE
    should be used only in headers and between INLINE_HEADER_BEGIN
    and INLINE_HEADER_END.  No need for ‘inline’ here.
---
 src/bytecode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bytecode.c b/src/bytecode.c
index ed1f6ca4a8..6246498616 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -452,7 +452,7 @@ DEFUN ("internal-stack-stats", Finternal_stack_stats, 
Sinternal_stack_stats,
 }
 
 /* Whether a stack pointer is valid in the current frame.  */
-INLINE bool
+static bool
 valid_sp (struct bc_thread_state *bc, Lisp_Object *sp)
 {
   struct bc_frame *fp = bc->fp;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]