From cf35a0bb6569108425a576a906f4c16012b17a6e Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Tue, 20 May 2014 11:47:05 +0200 Subject: [PATCH] remove pointless extern. --- source/rofi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/rofi.c b/source/rofi.c index 388d3de9..f2179dc8 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -81,7 +81,8 @@ #define I3_SOCKET_PATH_PROP "I3_SOCKET_PATH" // This setting is no longer user configurable, but partial to this file: int config_i3_mode = 0; -extern char *i3_socket_path; +// Path to HAVE_I3_IPC_H socket. +char *i3_socket_path = NULL; #endif @@ -160,8 +161,6 @@ static inline void tokenize_free ( char **ip ) } #ifdef HAVE_I3_IPC_H -// Path to HAVE_I3_IPC_H socket. -char *i3_socket_path = NULL; // Focus window on HAVE_I3_IPC_H window manager. static void focus_window_i3 ( const char *socket_path, int id ) {