Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
0059efa4
Commit
0059efa4
authored
Mar 08, 2012
by
Alessandro Rubini
Committed by
Aurelio Colosimo
Mar 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: fix names of protection macros
parent
d4055e0d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
constants.h
include/pptp/constants.h
+3
-3
diag.h
include/pptp/diag.h
+3
-3
lib.h
include/pptp/lib.h
+3
-3
pptp.h
include/pptp/pptp.h
+3
-3
No files found.
include/pptp/constants.h
View file @
0059efa4
...
...
@@ -3,8 +3,8 @@
* Based on PTPd project v. 2.1.0 (see AUTHORS for details)
*/
#ifndef __PTP_CONSTANTS_H__
#define __PTP_CONSTANTS_H__
#ifndef __P
P
TP_CONSTANTS_H__
#define __P
P
TP_CONSTANTS_H__
/* general purpose constants */
#define PP_NSEC_PER_SEC (1000*1000*1000)
...
...
@@ -87,4 +87,4 @@
#define PP_PEER_MACADDRESS "\x01\x80\xC2\x00\x00\x0E"
#endif
/* __PTP_CONSTANTS_H__ */
#endif
/* __P
P
TP_CONSTANTS_H__ */
include/pptp/diag.h
View file @
0059efa4
/*
* Alessandro Rubini for CERN, 2011 -- public domain
*/
#ifndef __PTP_DIAG_H__
#define __PTP_DIAG_H__
#ifndef __P
P
TP_DIAG_H__
#define __P
P
TP_DIAG_H__
#include <pptp/pptp.h>
/*
...
...
@@ -34,4 +34,4 @@ extern int pp_vprintf(const char *fmt, va_list args)
extern
int
pp_vsprintf
(
char
*
buf
,
const
char
*
,
va_list
)
__attribute__
((
format
(
printf
,
2
,
0
)));
#endif
/* __PTP_DIAG_H__ */
#endif
/* __P
P
TP_DIAG_H__ */
include/pptp/lib.h
View file @
0059efa4
/*
* Alessandro Rubini and Aurelio Colosimo for CERN, 2011 -- public domain
*/
#ifndef __PTP_LIB_H__
#define __PTP_LIB_H__
#ifndef __P
P
TP_LIB_H__
#define __P
P
TP_LIB_H__
#include <stdint.h>
/* We base on puts and a few more functions: each arch must have it */
...
...
@@ -14,4 +14,4 @@ extern void *pp_memset(void *s, int c, int count);
extern
uint32_t
__div64_32
(
uint64_t
*
n
,
uint32_t
base
);
#endif
/* __P
TP_DEP
_H__ */
#endif
/* __P
PTP_LIB
_H__ */
include/pptp/pptp.h
View file @
0059efa4
...
...
@@ -2,8 +2,8 @@
* Aurelio Colosimo for CERN, 2011 -- GNU LGPL v2.1 or later
*/
#ifndef __P
TP_PROTO
_H__
#define __P
TP_PROTO
_H__
#ifndef __P
PTP_PPTP
_H__
#define __P
PTP_PPTP
_H__
#include <stdint.h>
#include <stdarg.h>
...
...
@@ -370,4 +370,4 @@ extern pp_action pp_initializing, pp_faulty, pp_disabled, pp_listening,
/* The engine */
extern
int
pp_state_machine
(
struct
pp_instance
*
ppi
,
uint8_t
*
packet
,
int
plen
);
#endif
/* __P
TP_PROTO
_H__ */
#endif
/* __P
PTP_PPTP
_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment