chiark / gitweb /
manager: properly read timerfd elapse counter
[elogind.git] / execute.c
index 94866ebfa3ccebf4b98c6d6fbe708bca6da60eb1..ed6ad7f6e2eaad3b617871ae6665a5cd100a8141 100644 (file)
--- a/execute.c
+++ b/execute.c
@@ -19,8 +19,6 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#pragma GCC diagnostic ignored "-Wattributes"
-
 #include <assert.h>
 #include <dirent.h>
 #include <errno.h>
@@ -269,7 +267,7 @@ static int setup_output(const ExecContext *context, const char *ident) {
         }
 }
 
-int setup_input(const ExecContext *context) {
+static int setup_input(const ExecContext *context) {
         int r;
 
         assert(context);