Rename module.c to emacs-module.c, etc.

* src/emacs-module.c: Rename from src/module.c.
* src/emacs-module.h: Rename from src/module.h.
All uses changed.
This commit is contained in:
Paul Eggert 2015-11-19 13:50:23 -08:00
parent 62d787ed12
commit f2c0025921
7 changed files with 8 additions and 8 deletions

View file

@ -3320,7 +3320,7 @@ if test "${with_modules}" != "no"; then
fi
if test "${HAVE_MODULES}" = yes; then
MODULES_OBJ="dynlib.o module.o"
MODULES_OBJ="dynlib.o emacs-module.o"
AC_DEFINE(HAVE_MODULES, 1, [Define to 1 if dynamic modules are enabled])
AC_DEFINE_UNQUOTED(MODULES_SUFFIX, "$MODULES_SUFFIX",
[System extension for dynamic libraries])

View file

@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <assert.h>
#include <stdio.h>
#include <module.h>
#include <emacs-module.h>
int plugin_is_GPL_compatible;

View file

@ -149,7 +149,7 @@ def main():
'''),
string.Template('${c_file}'): string.Template('''
#include <module.h>
#include <emacs-module.h>
int plugin_is_GPL_compatible;

View file

@ -232,7 +232,7 @@ LIBZ = @LIBZ@
## system-specific libs for dynamic modules, else empty
LIBMODULES = @LIBMODULES@
## dynlib.o module.o if modules enabled, else empty
## dynlib.o emacs-module.o if modules enabled, else empty
MODULES_OBJ = @MODULES_OBJ@
XRANDR_LIBS = @XRANDR_LIBS@

View file

@ -1,4 +1,4 @@
/* module.c - Module loading and runtime implementation
/* emacs-module.c - Module loading and runtime implementation
Copyright (C) 2015 Free Software Foundation, Inc.
@ -24,7 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include "lisp.h"
#include "module.h"
#include "emacs-module.h"
#include "dynlib.h"
#include "coding.h"
#include "verify.h"

View file

@ -1,4 +1,4 @@
/* module.h - GNU Emacs module API.
/* emacs-module.h - GNU Emacs module API.
Copyright (C) 2015 Free Software Foundation, Inc.

View file

@ -3914,7 +3914,7 @@ extern bool let_shadows_global_binding_p (Lisp_Object symbol);
/* Defined in alloc.c. */
extern Lisp_Object make_user_ptr (void (*finalizer) (void*), void *p);
/* Defined in module.c. */
/* Defined in emacs-module.c. */
extern void module_init (void);
extern void mark_modules (void);
extern void syms_of_module (void);