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 ace4908..96438d9 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 483f3a9..e2536c7 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"