chiark / gitweb /
execute: drop now unnecessary GCC pragma again
[elogind.git] / execute.c
index db24ed9ee0a4493313f60e2b70d2b9ec7c91e7d3..ed6ad7f6e2eaad3b617871ae6665a5cd100a8141 100644 (file)
--- a/execute.c
+++ b/execute.c
@@ -1,6 +1,23 @@
 /*-*- Mode: C; c-basic-offset: 8 -*-*/
 
-#pragma GCC diagnostic ignored "-Wattributes"
+/***
+  This file is part of systemd.
+
+  Copyright 2010 Lennart Poettering
+
+  systemd is free software; you can redistribute it and/or modify it
+  under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  systemd is distributed in the hope that it will be useful, but
+  WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
 
 #include <assert.h>
 #include <dirent.h>
@@ -250,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);