Commit f2c00259 authored by Paul Eggert's avatar Paul Eggert

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.
parent 62d787ed
......@@ -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])
......
......@@ -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;
......
......@@ -149,7 +149,7 @@ def main():
'''),
string.Template('${c_file}'): string.Template('''
#include <module.h>
#include <emacs-module.h>
int plugin_is_GPL_compatible;
......
......@@ -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@
......
/* 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"
......
/* module.h - GNU Emacs module API.
/* emacs-module.h - GNU Emacs module API.
Copyright (C) 2015 Free Software Foundation, Inc.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment