Skip to content

Commit

Permalink
Removed unnecessary header files from sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Feb 28, 2014
1 parent e5b39c5 commit d1c4043
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@

#include "commons.h"
#include "error.h"
#include "xmalloc.h"
#include "gdashboard.h"
#include "settings.h"
#include "util.h"
#include "xmalloc.h"

/* *INDENT-OFF* */
/* Definitions checked against declarations */
Expand Down
5 changes: 2 additions & 3 deletions settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@

#include "commons.h"
#include "error.h"
#include "xmalloc.h"
#include "gmenu.h"
#include "util.h"
#include "ui.h"
#include "util.h"
#include "xmalloc.h"

char *tmp_log_format = NULL;
char *tmp_date_format = NULL;
Expand Down
3 changes: 1 addition & 2 deletions ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@

#include "commons.h"
#include "error.h"
#include "xmalloc.h"
#include "gmenu.h"
#include "goaccess.h"
#include "parser.h"
#include "settings.h"
#include "util.h"
#include "xmalloc.h"

/* *INDENT-OFF* */
static const char *sort_choices[][SORT_MAX_OPTS] = {
Expand Down
3 changes: 2 additions & 1 deletion util.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@
#include <netdb.h>
#include <unistd.h>

#include "util.h"

#include "error.h"
#include "settings.h"
#include "util.h"
#include "xmalloc.h"

/* {"search string", "belongs to"} */
Expand Down

0 comments on commit d1c4043

Please sign in to comment.