Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
4e6a3eab
Commit
4e6a3eab
authored
Jan 21, 2019
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rubi-190116' into proposed_master
parents
54d30793
1e5df6a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
1 deletion
+12
-1
sdb-storage.c
dev/sdb-storage.c
+1
-1
inttypes.h
include/std/inttypes.h
+9
-0
Makefile
liblinux/Makefile
+1
-0
Makefile
liblinux/extest/Makefile
+1
-0
No files found.
dev/sdb-storage.c
View file @
4e6a3eab
...
...
@@ -435,7 +435,7 @@ int set_persistent_mac(uint8_t portnum, uint8_t *mac)
/* Erase SFB database in the memory */
int
32_t
storage_sfpdb_erase
(
void
)
int
storage_sfpdb_erase
(
void
)
{
int
ret
;
...
...
include/std/inttypes.h
View file @
4e6a3eab
...
...
@@ -3,15 +3,24 @@
typedef
unsigned
char
uint8_t
;
typedef
unsigned
short
uint16_t
;
#ifndef _UINT32_T_DECLARED
typedef
unsigned
int
uint32_t
;
#define _UINT32_T_DECLARED
#endif
typedef
unsigned
long
long
uint64_t
;
typedef
signed
char
int8_t
;
typedef
signed
short
int16_t
;
#ifndef _INT32_T_DECLARED
typedef
signed
int
int32_t
;
#define _INT32_T_DECLARED
#endif
typedef
signed
long
long
int64_t
;
#ifndef _INTPTR_T_DECLARED
typedef
unsigned
long
intptr_t
;
#define _INTPTR_T_DECLARED
#endif
#define UINT32_MAX 4294967295U
...
...
liblinux/Makefile
View file @
4e6a3eab
...
...
@@ -10,6 +10,7 @@ LOBJ := devmap.o
GIT_VER
?=
$(
shell
git describe
--always
--dirty
)
GIT_USR
?=
$(
shell
git config
--get-all
user.name
)
CC
=
cc
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
-I
../include
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
LDFLAGS
=
-L
.
...
...
liblinux/extest/Makefile
View file @
4e6a3eab
...
...
@@ -9,6 +9,7 @@ GIT_USR =? $(shell git config --get-all user.name)
LIB
=
libextest.a
LOBJ
:=
extest.o
CC
=
cc
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
LDFLAGS
=
-L
.
-lextest
...
...
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