Skip to content

Commit

Permalink
time_basic.h: Remove unnecessary dependency on replace.h
Browse files Browse the repository at this point in the history
Forward declare struct timeval

Signed-off-by: Jelmer Vernooij <[email protected]>
Reviewed-By: Andrew Bartlett <[email protected]>
Reviewed-By: Stefan Metzmacher <[email protected]>
  • Loading branch information
jelmer committed Jan 13, 2016
1 parent 620d5cb commit 1860e98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/util/time_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

#include "replace.h"
#include "system/time.h"
#include "lib/util/time_basic.h"

/**
Expand Down
3 changes: 1 addition & 2 deletions lib/util/time_basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
#ifndef _SAMBA_TIME_BASIC_H_
#define _SAMBA_TIME_BASIC_H_

#include "replace.h"
#include "system/time.h"
struct timeval;

/**
a gettimeofday wrapper
Expand Down

0 comments on commit 1860e98

Please sign in to comment.