Commit 277d5cef authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Aurelio Colosimo

proto-standard: rename state-common-fun to common-fun

All other state-* files refer to one state of the fsm, so rename common
functions accordingly
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 15827303
......@@ -17,7 +17,7 @@ OBJ-libstd := $D/fsm-table.o \
$D/state-passive.o \
$D/state-uncalibrated.o \
$D/state-slave.o \
$D/state-common-fun.o \
$D/common-fun.o \
$D/bmc.o \
$D/msg.o \
$D/arith.o \
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
void st_com_execute_slave(struct pp_instance *ppi)
{
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
int pp_listening(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
int pp_passive(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
int pp_slave(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
......
......@@ -2,7 +2,7 @@
* FIXME: header
*/
#include <pptp/pptp.h>
#include "state-common-fun.h"
#include "common-fun.h"
int pp_uncalibrated(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
......
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