]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/upap.c
Header file reorganization and cleaning up the public API for pppd version 2.5.0...
[ppp.git] / pppd / upap.c
index 1fcff0904b1d9961814db0a8341b4940e8001201..822fb0a1b7abbbadc9ddc2bb1361fef3742f600d 100644 (file)
@@ -51,7 +51,8 @@
 #include <stdio.h>
 #include <string.h>
 
-#include "pppd.h"
+#include "pppd-private.h"
+#include "options.h"
 #include "upap.h"
 
 
@@ -60,7 +61,7 @@ static bool hide_password = 1;
 /*
  * Command-line options.
  */
-static option_t pap_option_list[] = {
+static struct option pap_option_list[] = {
     { "hide-password", o_bool, &hide_password,
       "Don't output passwords to log", OPT_PRIO | 1 },
     { "show-password", o_bool, &hide_password,