Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
98911e88
Commit
98911e88
authored
Jan 03, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbpsi_private.h: Declare DVBPSI_DEBUG_ARG and DVBPSI_ERROR_ARG functions as static.
parent
9d80d52f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/dvbpsi_private.h
src/dvbpsi_private.h
+4
-4
No files found.
src/dvbpsi_private.h
View file @
98911e88
...
@@ -27,10 +27,10 @@
...
@@ -27,10 +27,10 @@
#ifndef _DVBPSI_DVBPSI_PRIVATE_H_
#ifndef _DVBPSI_DVBPSI_PRIVATE_H_
#define _DVBPSI_DVBPSI_PRIVATE_H_
#define _DVBPSI_DVBPSI_PRIVATE_H_
#include <stdarg.h>
extern
uint32_t
dvbpsi_crc32_table
[];
extern
uint32_t
dvbpsi_crc32_table
[];
/*****************************************************************************
/*****************************************************************************
* Error management
* Error management
*****************************************************************************/
*****************************************************************************/
...
@@ -40,7 +40,7 @@ extern uint32_t dvbpsi_crc32_table[];
...
@@ -40,7 +40,7 @@ extern uint32_t dvbpsi_crc32_table[];
# define DVBPSI_ERROR_ARG(src, str, x...) \
# define DVBPSI_ERROR_ARG(src, str, x...) \
fprintf(stderr, "libdvbpsi error (" src "): " str "\n", x);
fprintf(stderr, "libdvbpsi error (" src "): " str "\n", x);
#else
#else
inline
void
DVBPSI_ERROR_ARG
(
char
*
src
,
const
char
*
str
,
...
)
static
inline
void
DVBPSI_ERROR_ARG
(
char
*
src
,
const
char
*
str
,
...
)
{
va_list
ap
;
va_start
(
ap
,
str
);
{
va_list
ap
;
va_start
(
ap
,
str
);
vfprintf
(
stderr
,
str
,
ap
);
fprintf
(
stderr
,
"
\n
"
);
va_end
(
ap
);
}
vfprintf
(
stderr
,
str
,
ap
);
fprintf
(
stderr
,
"
\n
"
);
va_end
(
ap
);
}
#endif
#endif
...
@@ -52,7 +52,7 @@ extern uint32_t dvbpsi_crc32_table[];
...
@@ -52,7 +52,7 @@ extern uint32_t dvbpsi_crc32_table[];
# define DVBPSI_DEBUG_ARG(src, str, x...) \
# define DVBPSI_DEBUG_ARG(src, str, x...) \
fprintf(stderr, "libdvbpsi debug (" src "): " str "\n", x);
fprintf(stderr, "libdvbpsi debug (" src "): " str "\n", x);
# else
# else
inline
void
DVBPSI_DEBUG_ARG
(
char
*
src
,
const
char
*
str
,
...
)
static
inline
void
DVBPSI_DEBUG_ARG
(
char
*
src
,
const
char
*
str
,
...
)
{
va_list
ap
;
va_start
(
ap
,
str
);
{
va_list
ap
;
va_start
(
ap
,
str
);
vfprintf
(
stderr
,
str
,
ap
);
fprintf
(
stderr
,
"
\n
"
);
va_end
(
ap
);
}
vfprintf
(
stderr
,
str
,
ap
);
fprintf
(
stderr
,
"
\n
"
);
va_end
(
ap
);
}
# endif
# endif
...
@@ -61,7 +61,7 @@ extern uint32_t dvbpsi_crc32_table[];
...
@@ -61,7 +61,7 @@ extern uint32_t dvbpsi_crc32_table[];
# ifdef HAVE_VARIADIC_MACROS
# ifdef HAVE_VARIADIC_MACROS
# define DVBPSI_DEBUG_ARG(src, str, x...)
# define DVBPSI_DEBUG_ARG(src, str, x...)
# else
# else
inline
void
DVBPSI_DEBUG_ARG
(
char
*
src
,
const
char
*
str
,
...
)
{}
static
inline
void
DVBPSI_DEBUG_ARG
(
char
*
src
,
const
char
*
str
,
...
)
{}
# endif
# endif
#endif
#endif
...
...
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