]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <getopt.h> only if used.
authorJim Meyering <meyering@redhat.com>
Sat, 15 Mar 2008 16:50:58 +0000 (17:50 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 16 Mar 2008 18:04:29 +0000 (19:04 +0100)
* src/group-list.c: Don't include <getopt.h>.
* src/printf.c: Likewise.

src/group-list.c
src/printf.c

index ace4908b10ba7df4129b9ef51c36ee4389e8cf02..96438d9b82b94188c26aaf1399f5c505ff761307 100644 (file)
@@ -21,7 +21,6 @@
 #include <config.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <getopt.h>
 #include <pwd.h>
 #include <grp.h>
 
index 483f3a98c382db5d8a88e41d9d9ecd21122d4784..e2536c797cb5fe7ad9daeebc0d3d3de3bfbd7e6a 100644 (file)
@@ -1,5 +1,5 @@
 /* printf - format and print data
-   Copyright (C) 1990-2007 Free Software Foundation, Inc.
+   Copyright (C) 1990-2008 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -48,7 +48,6 @@
 #include <config.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <getopt.h>
 
 #include "system.h"
 #include "c-strtod.h"