Skip to content

Commit

Permalink
all: mark a number of static functions as static
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
pcmoore committed Feb 24, 2017
1 parent ff34ac3 commit bee71b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/arch-s390.c
Expand Up @@ -34,7 +34,7 @@ const struct arch_def arch_def_s390 = {
* no related syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _s390_sock_demux(int socketcall)
static int _s390_sock_demux(int socketcall)
{
switch (socketcall) {
case -101:
Expand Down Expand Up @@ -110,7 +110,7 @@ int _s390_sock_demux(int socketcall)
* there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _s390_sock_mux(int syscall)
static int _s390_sock_mux(int syscall)
{
switch (syscall) {
case 337:
Expand Down
4 changes: 2 additions & 2 deletions src/arch-s390x.c
Expand Up @@ -34,7 +34,7 @@ const struct arch_def arch_def_s390x = {
* no related syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _s390x_sock_demux(int socketcall)
static int _s390x_sock_demux(int socketcall)
{
switch (socketcall) {
case -101:
Expand Down Expand Up @@ -110,7 +110,7 @@ int _s390x_sock_demux(int socketcall)
* there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _s390x_sock_mux(int syscall)
static int _s390x_sock_mux(int syscall)
{
switch (syscall) {
case 337:
Expand Down
4 changes: 2 additions & 2 deletions src/arch-x86.c
Expand Up @@ -50,7 +50,7 @@ const struct arch_def arch_def_x86 = {
* no related syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _x86_sock_demux(int socketcall)
static int _x86_sock_demux(int socketcall)
{
switch (socketcall) {
case -101:
Expand Down Expand Up @@ -126,7 +126,7 @@ int _x86_sock_demux(int socketcall)
* there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise.
*
*/
int _x86_sock_mux(int syscall)
static int _x86_sock_mux(int syscall)
{
switch (syscall) {
case 337:
Expand Down

0 comments on commit bee71b1

Please sign in to comment.