diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-03-12 14:24:33 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2007-03-12 14:24:33 +0100 |
commit | fa689d8b3862656879ee887e2489ba795f270bbd (patch) | |
tree | 493ffb21bd5e5e6f0391d03bc94fcc1c76d2ab9d | |
parent | Include getopt.h for getopt(). (diff) | |
download | xcman-fa689d8b3862656879ee887e2489ba795f270bbd.tar.gz xcman-fa689d8b3862656879ee887e2489ba795f270bbd.tar.bz2 xcman-fa689d8b3862656879ee887e2489ba795f270bbd.tar.xz |
Constified some variables.
-rw-r--r-- | xcompmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -752,7 +752,7 @@ find_win (Display *dpy, Window id) return 0; } -static char *backgroundProps[] = { +static const char *backgroundProps[] = { "_XROOTPMAP_ID", "_XSETROOT_ID", 0, @@ -1734,7 +1734,7 @@ static int error (Display *dpy, XErrorEvent *ev) { int o; - char *name = 0; + const char *name = 0; if (should_ignore (dpy, ev->serial)) return 0; |