From 773865eb1705268e3e12f59d06170cccc76f62dc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 18 Oct 2009 17:45:21 +0000 Subject: [PATCH] Move two struct forward declarations from sudo.h to missing.h --- missing.h | 3 +++ sudo.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/missing.h b/missing.h index d2a2d6570..d6e278c49 100644 --- a/missing.h +++ b/missing.h @@ -21,6 +21,9 @@ /* Functions "missing" from libc. */ +struct timeval; +struct timespec; + #ifndef HAVE_CLOSEFROM void closefrom __P((int)); #endif diff --git a/sudo.h b/sudo.h index e3f56cfd6..0ee906ae3 100644 --- a/sudo.h +++ b/sudo.h @@ -191,8 +191,6 @@ struct sudo_user { struct lbuf; struct passwd; -struct timespec; -struct timeval; /* * Function prototypes