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
47
Issues
47
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
521ba963
Commit
521ba963
authored
Nov 26, 2013
by
Pietro Fezzardi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
general: pp_open_globals renamed to pp_init globals
parent
ff6d47bb
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
Makefile
arch-bare-i386/Makefile
+1
-1
Makefile
arch-bare-x86-64/Makefile
+1
-1
Makefile
arch-unix/Makefile
+1
-1
unix-startup.c
arch-unix/unix-startup.c
+1
-1
wrc_ptp_ppsi.c
arch-wrpc/wrc_ptp_ppsi.c
+1
-1
Makefile
arch-wrs/Makefile
+1
-1
wrs-startup.c
arch-wrs/wrs-startup.c
+1
-1
ppsi.h
include/ppsi/ppsi.h
+1
-1
bare-startup.c
lib-bare/bare-startup.c
+1
-1
open-close.c
proto-standard/open-close.c
+1
-1
No files found.
arch-bare-i386/Makefile
View file @
521ba963
...
...
@@ -30,7 +30,7 @@ include time-bare/Makefile
all
:
$(TARGET)
# to build the target, we need -lstd again, in case we call functions that
# were not selected yet (e.g., pp_
open
_globals() ).
# were not selected yet (e.g., pp_
init
_globals() ).
$(TARGET)
:
$(TARGET).o
$(CC)
-Wl
,-Map,
$(TARGET)
.map2
$(ARCH_LDFLAGS)
-o
$@
$(TARGET)
.o
arch-bare-x86-64/Makefile
View file @
521ba963
...
...
@@ -34,7 +34,7 @@ $(LIBARCH): $(OBJ-libarch)
all
:
$(TARGET)
# to build the target, we need -lstd again, in case we call functions that
# were not selected yet (e.g., pp_
open
_globals() ).
# were not selected yet (e.g., pp_
init
_globals() ).
$(TARGET)
:
$(TARGET).o
$(CC)
-Wl
,-Map,
$(TARGET)
.map2
$(ARCH_LDFLAGS)
-o
$@
$(TARGET)
.o
arch-unix/Makefile
View file @
521ba963
...
...
@@ -27,7 +27,7 @@ CFLAGS += -Itime-unix
all
:
$(TARGET)
# to build the target, we need -lstd again, in case we call functions that
# were not selected yet (e.g., pp_
open
_globals() ).
# were not selected yet (e.g., pp_
init
_globals() ).
$(TARGET)
:
$(TARGET).o
$(CC)
-Wl
,-Map,
$(TARGET)
.map2
-o
$@
$(TARGET)
.o
-lrt
arch-unix/unix-startup.c
View file @
521ba963
...
...
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
exit
(
__LINE__
);
}
pp_
open
_globals
(
ppg
,
&
__pp_default_rt_opts
);
pp_
init
_globals
(
ppg
,
&
__pp_default_rt_opts
);
unix_main_loop
(
ppg
);
return
0
;
/* never reached */
...
...
arch-wrpc/wrc_ptp_ppsi.c
View file @
521ba963
...
...
@@ -181,7 +181,7 @@ int wrc_ptp_start()
{
struct
pp_instance
*
ppi
=
&
ppi_static
;
pp_
open
_globals
(
&
ppg_static
,
&
__pp_default_rt_opts
);
pp_
init
_globals
(
&
ppg_static
,
&
__pp_default_rt_opts
);
/* Call the state machine. Being it in "Initializing" state, make
* ppsi initialize what is necessary */
...
...
arch-wrs/Makefile
View file @
521ba963
...
...
@@ -38,7 +38,7 @@ OBJ-y += $(MINIPC_LIB)
all
:
$(TARGET)
# to build the target, we need -lstd again, in case we call functions that
# were not selected yet (e.g., pp_
open
_globals() ).
# were not selected yet (e.g., pp_
init
_globals() ).
$(TARGET)
:
$(TARGET).o
$(CC)
-Wl
,-Map,
$(TARGET)
.map2
-o
$@
$(TARGET)
.o
-lrt
arch-wrs/wrs-startup.c
View file @
521ba963
...
...
@@ -165,7 +165,7 @@ int main(int argc, char **argv)
}
pp_
open
_globals
(
ppg
,
&
__pp_default_rt_opts
);
pp_
init
_globals
(
ppg
,
&
__pp_default_rt_opts
);
wrs_main_loop
(
ppg
);
return
0
;
/* never reached */
...
...
include/ppsi/ppsi.h
View file @
521ba963
...
...
@@ -251,7 +251,7 @@ static inline void pp_timeout_restart_annrec(struct pp_instance *ppi)
/* The channel for an instance must be created and possibly destroyed. */
extern
int
pp_
open
_globals
(
struct
pp_globals
*
ppg
,
struct
pp_runtime_opts
*
opts
);
extern
int
pp_
init
_globals
(
struct
pp_globals
*
ppg
,
struct
pp_runtime_opts
*
opts
);
extern
int
pp_close_globals
(
struct
pp_globals
*
ppg
);
extern
int
pp_parse_cmdline
(
struct
pp_globals
*
ppg
,
int
argc
,
char
**
argv
);
...
...
lib-bare/bare-startup.c
View file @
521ba963
...
...
@@ -71,7 +71,7 @@ int ppsi_main(int argc, char **argv)
return
-
1
;
/* This just allocates the stuff */
pp_
open
_globals
(
ppg
,
&
__pp_default_rt_opts
);
pp_
init
_globals
(
ppg
,
&
__pp_default_rt_opts
);
/* The actual sockets are opened in state-initializing */
bare_main_loop
(
ppi
);
...
...
proto-standard/open-close.c
View file @
521ba963
...
...
@@ -40,7 +40,7 @@ struct pp_runtime_opts __pp_default_rt_opts = {
* state machine to the first state.
*/
int
pp_
open
_globals
(
struct
pp_globals
*
ppg
,
struct
pp_runtime_opts
*
pp_rt_opts
)
int
pp_
init
_globals
(
struct
pp_globals
*
ppg
,
struct
pp_runtime_opts
*
pp_rt_opts
)
{
/*
* Initialize default data set
...
...
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