Commit 70429ee3 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: kill __weak, not used nor useful

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent ba5d071a
......@@ -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.
*/
......
......@@ -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,},
......
......@@ -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,},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment