diff options
author | okan | 2014-01-21 15:42:44 +0000 |
---|---|---|
committer | okan | 2014-01-21 15:42:44 +0000 |
commit | 129338185f898dfe060a3de1b5b7aba429161b81 (patch) | |
tree | d440ddf50e01d21573c3512ab26de909b9ffc820 /calmwm.h | |
parent | 84ce709251f9e47f74b8a6c75760eb3182063f8b (diff) | |
download | cwm-129338185f898dfe060a3de1b5b7aba429161b81.tar.gz |
Sprinkle a few more const; from Tiago Cunha.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.245 2014/01/20 23:03:51 okan Exp $ + * $OpenBSD: calmwm.h,v 1.246 2014/01/21 15:42:44 okan Exp $ */ #ifndef _CALMWM_H_ @@ -325,7 +325,7 @@ extern Time Last_Event_Time; extern struct screen_ctx_q Screenq; extern struct client_ctx_q Clientq; extern struct conf Conf; -extern char *homedir; +extern const char *homedir; extern int HasRandr, Randr_ev; enum { @@ -502,7 +502,7 @@ void mousefunc_menu_unhide(struct client_ctx *, union arg *); struct menu *menu_filter(struct screen_ctx *, struct menu_q *, - char *, char *, int, + const char *, const char *, int, void (*)(struct menu_q *, struct menu_q *, char *), void (*)(struct menu *, int)); void menuq_add(struct menu_q *, void *, const char *, ...); |