Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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
vlc-2-2
Commits
f464bb35
Commit
f464bb35
authored
Sep 11, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All: missing ATTRIBUTE_FORMAT
Now lets hunt the format warnings!
parent
8ec8cbcc
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
include/vlc_charset.h
include/vlc_charset.h
+1
-1
include/vlc_common.h
include/vlc_common.h
+1
-1
include/vlc_httpd.h
include/vlc_httpd.h
+1
-1
include/vlc_interface.h
include/vlc_interface.h
+2
-2
include/vlc_network.h
include/vlc_network.h
+1
-1
include/vlc_osd.h
include/vlc_osd.h
+2
-2
include/vlc_vlm.h
include/vlc_vlm.h
+1
-1
No files found.
include/vlc_charset.h
View file @
f464bb35
...
...
@@ -54,7 +54,7 @@ VLC_EXPORT( int, utf8_stat, ( const char *filename, struct stat *buf ) );
VLC_EXPORT
(
int
,
utf8_lstat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
VLC_EXPORT
(
int
,
utf8_vfprintf
,
(
FILE
*
stream
,
const
char
*
fmt
,
va_list
ap
)
);
VLC_EXPORT
(
int
,
utf8_fprintf
,
(
FILE
*
,
const
char
*
,
...
)
);
VLC_EXPORT
(
int
,
utf8_fprintf
,
(
FILE
*
,
const
char
*
,
...
)
ATTRIBUTE_FORMAT
(
2
,
3
)
);
VLC_EXPORT
(
char
*
,
EnsureUTF8
,
(
char
*
)
);
VLC_EXPORT
(
const
char
*
,
IsUTF8
,
(
const
char
*
)
);
...
...
include/vlc_common.h
View file @
f464bb35
...
...
@@ -861,7 +861,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
#if !defined(HAVE_ASPRINTF) || defined(__APPLE__) || defined(SYS_BEOS)
# define asprintf vlc_asprintf
VLC_EXPORT
(
int
,
vlc_asprintf
,
(
char
**
,
const
char
*
,
...
)
);
VLC_EXPORT
(
int
,
vlc_asprintf
,
(
char
**
,
const
char
*
,
...
)
ATTRIBUTE_FORMAT
(
2
,
3
)
);
#elif !defined(__PLUGIN__)
# define vlc_asprintf NULL
#endif
...
...
include/vlc_httpd.h
View file @
f464bb35
...
...
@@ -139,7 +139,7 @@ VLC_EXPORT( int, httpd_StreamSend, ( httpd_stream_t *, uint8_t *p
/* Msg functions facilities */
VLC_EXPORT
(
void
,
httpd_MsgInit
,
(
httpd_message_t
*
)
);
VLC_EXPORT
(
void
,
httpd_MsgAdd
,
(
httpd_message_t
*
,
const
char
*
psz_name
,
const
char
*
psz_value
,
...
)
);
VLC_EXPORT
(
void
,
httpd_MsgAdd
,
(
httpd_message_t
*
,
const
char
*
psz_name
,
const
char
*
psz_value
,
...
)
ATTRIBUTE_FORMAT
(
3
,
4
)
);
/* return "" if not found. The string is not allocated */
VLC_EXPORT
(
const
char
*
,
httpd_MsgGet
,
(
const
httpd_message_t
*
,
const
char
*
psz_name
)
);
VLC_EXPORT
(
void
,
httpd_MsgClean
,
(
httpd_message_t
*
)
);
...
...
include/vlc_interface.h
View file @
f464bb35
...
...
@@ -307,9 +307,9 @@ struct interaction_t
***************************************************************************/
#define intf_UserFatal( a, b, c, d, e... ) __intf_UserFatal( VLC_OBJECT(a),b,c,d, ## e )
VLC_EXPORT
(
int
,
__intf_UserFatal
,(
vlc_object_t
*
,
vlc_bool_t
,
const
char
*
,
const
char
*
,
...)
);
VLC_EXPORT
(
int
,
__intf_UserFatal
,(
vlc_object_t
*
,
vlc_bool_t
,
const
char
*
,
const
char
*
,
...)
ATTRIBUTE_FORMAT
(
4
,
5
)
);
#define intf_UserWarn( a, c, d, e... ) __intf_UserWarn( VLC_OBJECT(a),c,d, ## e )
VLC_EXPORT
(
int
,
__intf_UserWarn
,(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
...)
);
VLC_EXPORT
(
int
,
__intf_UserWarn
,(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
...)
ATTRIBUTE_FORMAT
(
3
,
4
)
);
#define intf_UserLoginPassword( a, b, c, d, e... ) __intf_UserLoginPassword( VLC_OBJECT(a),b,c,d,e)
VLC_EXPORT
(
int
,
__intf_UserLoginPassword
,(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
char
**
,
char
**
)
);
#define intf_UserYesNo( a, b, c, d, e, f ) __intf_UserYesNo( VLC_OBJECT(a),b,c, d, e, f )
...
...
include/vlc_network.h
View file @
f464bb35
...
...
@@ -138,7 +138,7 @@ VLC_EXPORT( ssize_t, __net_Write, ( vlc_object_t *p_this, int fd, const v_socket
#define net_Gets(a,b,c) __net_Gets(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
char
*
,
__net_Gets
,
(
vlc_object_t
*
p_this
,
int
fd
,
const
v_socket_t
*
)
);
VLC_EXPORT
(
ssize_t
,
net_Printf
,
(
vlc_object_t
*
p_this
,
int
fd
,
const
v_socket_t
*
,
const
char
*
psz_fmt
,
...
)
);
VLC_EXPORT
(
ssize_t
,
net_Printf
,
(
vlc_object_t
*
p_this
,
int
fd
,
const
v_socket_t
*
,
const
char
*
psz_fmt
,
...
)
ATTRIBUTE_FORMAT
(
4
,
5
)
);
#define net_vaPrintf(a,b,c,d,e) __net_vaPrintf(VLC_OBJECT(a),b,c,d,e)
VLC_EXPORT
(
ssize_t
,
__net_vaPrintf
,
(
vlc_object_t
*
p_this
,
int
fd
,
const
v_socket_t
*
,
const
char
*
psz_fmt
,
va_list
args
)
);
...
...
include/vlc_osd.h
View file @
f464bb35
...
...
@@ -580,7 +580,7 @@ static inline void osd_SetMenuUpdate( osd_menu_t *p_osd, vlc_bool_t b_value )
*/
VLC_EXPORT
(
int
,
osd_ShowTextRelative
,
(
spu_t
*
,
int
,
char
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
)
);
VLC_EXPORT
(
int
,
osd_ShowTextAbsolute
,
(
spu_t
*
,
int
,
char
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
,
mtime_t
)
);
VLC_EXPORT
(
void
,
osd_Message
,
(
spu_t
*
,
int
,
char
*
,
...
)
);
VLC_EXPORT
(
void
,
osd_Message
,
(
spu_t
*
,
int
,
char
*
,
...
)
ATTRIBUTE_FORMAT
(
3
,
4
)
);
/**
* Default feedback images
...
...
@@ -644,7 +644,7 @@ VLC_EXPORT( int, vout_ShowTextAbsolute, ( vout_thread_t *, int, const char *, te
* \param i_channel Subpicture channel
* \param psz_format printf style formatting
**/
VLC_EXPORT
(
void
,
__vout_OSDMessage
,
(
vlc_object_t
*
,
int
,
const
char
*
,
...
)
);
VLC_EXPORT
(
void
,
__vout_OSDMessage
,
(
vlc_object_t
*
,
int
,
const
char
*
,
...
)
ATTRIBUTE_FORMAT
(
3
,
4
)
);
/**
* Same as __vlc_OSDMessage() but with automatic casting
...
...
include/vlc_vlm.h
View file @
f464bb35
...
...
@@ -157,7 +157,7 @@ VLC_EXPORT( void, vlm_Delete, ( vlm_t * ) );
VLC_EXPORT
(
int
,
vlm_ExecuteCommand
,
(
vlm_t
*
,
const
char
*
,
vlm_message_t
**
)
);
VLC_EXPORT
(
int
,
vlm_Control
,
(
vlm_t
*
p_vlm
,
int
i_query
,
...
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageNew
,
(
const
char
*
,
const
char
*
,
...
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageNew
,
(
const
char
*
,
const
char
*
,
...
)
ATTRIBUTE_FORMAT
(
2
,
3
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageAdd
,
(
vlm_message_t
*
,
vlm_message_t
*
)
);
VLC_EXPORT
(
void
,
vlm_MessageDelete
,
(
vlm_message_t
*
)
);
...
...
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