aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-remove.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-01 03:23:03 +0100
committerMattias Andrée <maandree@kth.se>2016-12-01 03:23:03 +0100
commit9ecf9c624c5272cf8d576ec173283ebfe72fd373 (patch)
tree8e098894b688a45144a6e7de81b97959490f0785 /src/cg-remove.c
parentAdd makefile (diff)
downloadcg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.gz
cg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.bz2
cg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/cg-remove.c')
-rw-r--r--src/cg-remove.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cg-remove.c b/src/cg-remove.c
index 065e6eb..bde0855 100644
--- a/src/cg-remove.c
+++ b/src/cg-remove.c
@@ -15,9 +15,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _DEFAULT_SOURCE
-#define _BSD_SOURCE
-
#include "arg.h"
#include <libcoopgamma.h>
@@ -42,7 +39,7 @@ static libcoopgamma_context_t cg;
/**
* Print usage information and exit
*/
-void usage(void)
+static void usage(void)
{
fprintf(stderr,
"Usage: %s [-M method] [-S site] [-c crtc]... class...\n",