summaryrefslogtreecommitdiff
path: root/pppd/pppcrypt.h
diff options
context:
space:
mode:
authorEivind Næss <eivnaes@yahoo.com>2022-05-30 13:53:24 -0700
committerEivind Næss <eivnaes@yahoo.com>2022-07-15 15:25:39 -0700
commitc0d579b8423ef278c204b6db60615c88eea9c870 (patch)
tree417cd421b87f8470271ad67211c3e7d8767da10b /pppd/pppcrypt.h
parent199e97bae9c03f5cec5202a511b5c436aff05af9 (diff)
downloadppp-c0d579b8423ef278c204b6db60615c88eea9c870.tar.gz
Adding propper include guard to header files, renaming to PPP_<FILE>_H for consistency
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'pppd/pppcrypt.h')
-rw-r--r--pppd/pppcrypt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pppd/pppcrypt.h b/pppd/pppcrypt.h
index 79676ca..fff396c 100644
--- a/pppd/pppcrypt.h
+++ b/pppd/pppcrypt.h
@@ -29,10 +29,10 @@
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "pppdconf.h"
+#ifndef PPP_PPPCRYPT_H
+#define PPP_PPPCRYPT_H
-#ifndef PPPCRYPT_H
-#define PPPCRYPT_H
+#include "pppdconf.h"
#ifdef HAVE_CRYPT_H
#include <crypt.h>
@@ -46,4 +46,4 @@ extern bool DesSetkey(u_char *);
extern bool DesEncrypt(u_char *, u_char *);
extern bool DesDecrypt(u_char *, u_char *);
-#endif /* PPPCRYPT_H */
+#endif /* PPP_PPPCRYPT_H */