Skip to content

Commit c4752e6

Browse files
committed
Makes vmemsave.c lispstringP implementation local and updates header file accordingly
1 parent 78dfa9b commit c4752e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

inc/vmemsavedefs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef VMEMSAVEDEFS_H
22
#define VMEMSAVEDEFS_H 1
3-
#include "lispemul.h" /* for LispPTR, DLword */
4-
int lispstringP(LispPTR Lisp);
3+
#include "lispemul.h" /* for LispPTR */
54
LispPTR vmem_save(char *sysout_file_name);
65
LispPTR vmem_save0(LispPTR *args);
76
void lisp_finish(int exit_status);

src/vmemsave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ extern int please_fork;
9292
/* */
9393
/************************************************************************/
9494

95-
int lispstringP(LispPTR Lisp)
95+
static int lispstringP(LispPTR Lisp)
9696
{
9797
switch (((OneDArray *)(NativeAligned4FromLAddr(Lisp)))->typenumber) {
9898
case THIN_CHAR_TYPENUMBER:

0 commit comments

Comments
 (0)