]> granicus.if.org Git - sudo/commitdiff
Move two struct forward declarations from sudo.h to missing.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 18 Oct 2009 17:45:21 +0000 (17:45 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 18 Oct 2009 17:45:21 +0000 (17:45 +0000)
missing.h
sudo.h

index d2a2d6570722b2dd5ff9d3f208423a5532109d05..d6e278c4918cad4466b9930425a5f1970bdf7026 100644 (file)
--- 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 e3f56cfd6da334a26d74033dd0faf8a444f695a6..0ee906ae3227b80f45635795ee67d49248ba429b 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -191,8 +191,6 @@ struct sudo_user {
 
 struct lbuf;
 struct passwd;
-struct timespec;
-struct timeval;
 
 /*
  * Function prototypes