[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-mcron] [PATCH 26/33] mcron: Make functions 'static'.
From: |
Mathieu Lirzin |
Subject: |
[Bug-mcron] [PATCH 26/33] mcron: Make functions 'static'. |
Date: |
Sun, 27 Sep 2015 23:00:37 +0200 |
* mcron.c (inner_main, react_to_terminal_signal, set_cron_signals): Make
functions 'static'.
---
mcron.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mcron.c b/mcron.c
index ece6eb1..9b58b43 100644
--- a/mcron.c
+++ b/mcron.c
@@ -28,9 +28,9 @@
#include <string.h>
/* Forward declarations. */
-void inner_main (void *closure, int argc, char **argv);
-void react_to_terminal_signal (int sig);
-SCM set_cron_signals (void);
+static void inner_main (void *closure, int argc, char **argv);
+static void react_to_terminal_signal (int sig);
+static SCM set_cron_signals (void);
int
main (int argc, char **argv)
@@ -43,7 +43,7 @@ main (int argc, char **argv)
/* Launch the Mcron Guile main program. */
-void
+static void
inner_main (void *closure, int argc, char **argv)
{
scm_set_current_module (scm_c_resolve_module ("mcron main"));
@@ -56,7 +56,7 @@ inner_main (void *closure, int argc, char **argv)
is necessary to perform the signal processing in C because the sigaction
function won't work when called from Guile. */
-SCM
+static SCM
set_cron_signals ()
{
static struct sigaction sa;
@@ -74,7 +74,7 @@ set_cron_signals ()
/* Handle signal SIG and exit. All signals that mcron handles will produce
the same behavior so we don't need to use SIG in the implementation. */
-void
+static void
react_to_terminal_signal (int sig)
{
scm_c_eval_string ("(delete-run-file)");
- [Bug-mcron] [PATCH 07/33] Augment TODO., (continued)
- [Bug-mcron] [PATCH 07/33] Augment TODO., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 09/33] build: Generate 'ChangeLog' upon 'make dist'., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 10/33] build: Fix prerequisite of the man page target., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 11/33] main: Import the modules used in one time., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 12/33] main: Use 'when' and 'unless' special forms., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 14/33] main: Make 'catch-mcron-error' macro hygienic., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 16/33] main: Add cron-file-descriptors., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 27/33] main: Improve 'process-user-file' definition., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 15/33] main: Add docstrings., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 26/33] mcron: Make functions 'static'.,
Mathieu Lirzin <=
- [Bug-mcron] [PATCH 29/33] environment: Redefine 'modify-environment'., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 17/33] main: Add main., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 21/33] main: Remove obsolete debug option., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 22/33] redirect: Use module (ice-9 regex)., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 23/33] mcron: Add forward declarations., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 28/33] main: Remove unused 'regular-file?' procedure., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 24/33] mcron: Use symbolic constants., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 25/33] mcron: Rework comments., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 20/33] build: Enable silent rules by default., Mathieu Lirzin, 2015/09/27
- [Bug-mcron] [PATCH 13/33] main: Turn 'command-name' into a thunk., Mathieu Lirzin, 2015/09/27