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
70429ee3
Commit
70429ee3
authored
Feb 28, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: kill __weak, not used nor useful
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
ba5d071a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
ppsi.h
include/ppsi/ppsi.h
+0
-2
fsm-table.c
proto-ext-whiterabbit/fsm-table.c
+2
-4
fsm-table.c
proto-standard/fsm-table.c
+2
-2
No files found.
include/ppsi/ppsi.h
View file @
70429ee3
...
...
@@ -13,8 +13,6 @@
#include <ppsi/ieee1588_types.h>
#include <ppsi/constants.h>
#define __weak __attribute__((weak))
/*
* Runtime options. Default values can be overridden by command line.
*/
...
...
proto-ext-whiterabbit/fsm-table.c
View file @
70429ee3
...
...
@@ -6,12 +6,10 @@
#include "wr-api.h"
/*
* This is the default state machine table. It is weak so an extension
* protocol can define its own stuff. It is in its own source file, so
* the linker can avoid pulling this data space if another table is there.
* This is the WR state machine table.
*/
struct
pp_state_table_item
pp_state_table
[]
__weak
=
{
struct
pp_state_table_item
pp_state_table
[]
=
{
{
PPS_INITIALIZING
,
"initializing"
,
pp_initializing
,},
{
PPS_FAULTY
,
"faulty"
,
pp_faulty
,},
{
PPS_DISABLED
,
"disabled"
,
pp_disabled
,},
...
...
proto-standard/fsm-table.c
View file @
70429ee3
...
...
@@ -5,12 +5,12 @@
#include <ppsi/ppsi.h>
/*
* This is the default state machine table.
It is weak so an extension
* This is the default state machine table.
Can be overrridden by an extended
* protocol can define its own stuff. It is in its own source file, so
* the linker can avoid pulling this data space if another table is there.
*/
struct
pp_state_table_item
pp_state_table
[]
__weak
=
{
struct
pp_state_table_item
pp_state_table
[]
=
{
{
PPS_INITIALIZING
,
"initializing"
,
pp_initializing
,},
{
PPS_FAULTY
,
"faulty"
,
pp_faulty
,},
{
PPS_DISABLED
,
"disabled"
,
pp_disabled
,},
...
...
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