commit afa410e1a0ae93fda9c0b5a0cf35fdbceb278edf
parent cc85452e8332ac01f79119d6e621008a0f3f1e60
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Mon, 30 Sep 2024 04:21:56 +0200
remove .gitattributes and get rid of $Id$
Diffstat:
14 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/.gitattributes b/.gitattributes
@@ -1,13 +0,0 @@
-src/chpst.c ident
-src/runit-init.c ident
-src/runit.c ident
-src/runsv.c ident
-src/runsvchdir.c ident
-src/runsvctrl.c ident
-src/runsvdir.c ident
-src/runsvstat.c ident
-src/sv.c ident
-src/svlogd.c ident
-src/svwaitdown.c ident
-src/svwaitup.c ident
-src/utmpset.c ident
diff --git a/src/chpst.c b/src/chpst.c
@@ -25,8 +25,6 @@
#define FATAL "chpst: fatal: "
#define WARNING "chpst: warning: "
-#define VERSION "$Id$"
-
const char *progname;
static stralloc sa;
diff --git a/src/runit-init.c b/src/runit-init.c
@@ -12,8 +12,6 @@
#define FATAL "init: fatal: "
/* #define WARNING "init: warning: " */
-#define VERSION "$Id$"
-
const char *progname;
void usage(void) { strerr_die4x(0, "usage: ", progname, USAGE, "\n"); }
diff --git a/src/runit.c b/src/runit.c
@@ -21,8 +21,6 @@
#define WARNING "- runit: warning: "
#define FATAL "- runit: fatal: "
-#define VERSION "$Id$"
-
const char * const stage[3] ={
"/etc/runit/1",
"/etc/runit/2",
diff --git a/src/runsv.c b/src/runsv.c
@@ -22,8 +22,6 @@
#define USAGE " dir"
-#define VERSION "$Id$"
-
char *progname;
int selfpipe[2];
diff --git a/src/runsvchdir.c b/src/runsvchdir.c
@@ -9,8 +9,6 @@
#define USAGE " dir"
#define SVDIR "/etc/runit/runsvdir"
-#define VERSION "$Id$"
-
char *progname;
char *new;
diff --git a/src/runsvctrl.c b/src/runsvctrl.c
@@ -5,8 +5,6 @@
#define USAGE " u|d|o|p|c|h|a|i|q|1|2|t|k|x|e service ..."
-#define VERSION "$Id$"
-
#define FATAL "runsvctrl: fatal: "
#define WARNING "runsvctrl: warning: "
diff --git a/src/runsvdir.c b/src/runsvdir.c
@@ -20,7 +20,6 @@
#include "taia.h"
#define USAGE " [-P] dir"
-#define VERSION "$Id$"
#define MAXSERVICES 1000
diff --git a/src/runsvstat.c b/src/runsvstat.c
@@ -11,8 +11,6 @@
#define USAGE " [ -l ] service ..."
-#define VERSION "$Id$"
-
#define FATAL "runsvstat: fatal: "
#define WARNING "runsvstat: warning: "
diff --git a/src/sv.c b/src/sv.c
@@ -17,8 +17,6 @@
#define USAGE " [-v] [-w sec] command service ..."
#define USAGELSB " [-w sec] command"
-#define VERSION "$Id$"
-
#define FATAL "fatal: "
#define FAIL "fail: "
#define WARN "warning: "
diff --git a/src/svlogd.c b/src/svlogd.c
@@ -35,7 +35,6 @@
#include "ndelay.h"
#define USAGE " [-ttv] [-r c] [-R abc] [-l len] [-b buflen] dir ..."
-#define VERSION "$Id$"
#define FATAL "svlogd: fatal: "
#define WARNING "svlogd: warning: "
diff --git a/src/svwaitdown.c b/src/svwaitdown.c
@@ -12,8 +12,6 @@
#define INFO "svwaitdown: "
#define USAGE " [-v] [-t 1..6000] service ..."
-#define VERSION "$Id$"
-
const char *progname;
const char * const *dir;
unsigned int rc =0;
diff --git a/src/svwaitup.c b/src/svwaitup.c
@@ -13,8 +13,6 @@
#define INFO "svwaitup: "
#define USAGE " [-v] [-s 1..600] service ..."
-#define VERSION "$Id$"
-
const char *progname;
unsigned long sec =2;
unsigned int rc =0;
diff --git a/src/utmpset.c b/src/utmpset.c
@@ -17,8 +17,6 @@
#define FATAL "utmpset: fatal: "
#define WARNING "utmpset: warning: "
-#define VERSION "$Id$"
-
const char *progname;
void usage(void) { strerr_die4x(1, "usage: ", progname, USAGE, "\n"); }