]> granicus.if.org Git - sudo/commitdiff
Include sudo_usage.h after sudo.h now that it has function prototypes
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 5 Jun 2010 17:53:50 +0000 (13:53 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 5 Jun 2010 17:53:50 +0000 (13:53 -0400)
to guarantee that __P is defined.

--HG--
branch : 1.7

parse_args.c
sudo.c

index 8c51c5ea1bb37a63a94099ab27ba180cad1800a6..8815b97507e0b9af7885eb1da3d765ebe448422a 100644 (file)
@@ -48,9 +48,9 @@
 #include <pwd.h>
 #include <grp.h>
 
-#include <sudo_usage.h>
 #include "sudo.h"
 #include "lbuf.h"
+#include <sudo_usage.h>
 
 /*
  * Local functions
diff --git a/sudo.c b/sudo.c
index 8d91e414859e4bef4694406cd4d31c7d74e704c0..5e0fe25edfcc338c3d524c5e16a35335f3b0599b 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -99,7 +99,6 @@
 # include <membership.h>
 #endif
 
-#include <sudo_usage.h>
 #include "sudo.h"
 #include "lbuf.h"
 #include "interfaces.h"