aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/config.def.h b/config.def.h
index 9fcbc98..39cae29 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,20 +5,20 @@
#define USERNAME "who"
#define HOMEDIR "/home/" USERNAME
-uid_t uid = 1000;
-gid_t gid = 1000;
+static uid_t uid = 1000;
+static gid_t gid = 1000;
/* Enable startup profiling with perf(1) */
// #define PERF
#ifdef PERF
-static char *const perf[] = {
+static const char *const perf[] = {
"/usr/bin/perf", "record", "-ag", "--output=/tmp/perf.data",
"--", "sleep", "3" };
#endif
/* constant groups to set for user session */
-static gid_t const groups[] = {
+static const gid_t groups[] = {
5, /* tty */
10, /* wheel */
91, /* video */
@@ -27,7 +27,7 @@ static gid_t const groups[] = {
int udev_settled(void);
-static struct {
+static const struct {
int (*dep)();
char *argv[6];
} init_procs[] = {
@@ -41,7 +41,7 @@ static struct {
udev_settled, { "/usr/bin/illum-d", NULL },
};
-static struct {
+static const struct {
char *source;
char *target;
char *type;
@@ -56,7 +56,7 @@ static struct {
{ "tmpfs", "/run", "tmpfs", MS_NOSUID|MS_NODEV, "mode=755" },
};
-static char *const user_env[] = {
+static const char *const user_env[] = {
"HOME=" HOMEDIR,
"PWD=" HOMEDIR,
"PATH=/usr/bin",
@@ -68,7 +68,7 @@ static char *const user_env[] = {
NULL
};
-static char *const user_procs[][5] = {
+static const char *const user_procs[][5] = {
{ "/usr/bin/xinit", "/usr/bin/dwm", "--", "-quiet", NULL },
};