Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
3e40b224
Commit
3e40b224
authored
Sep 13, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc.h: change "mpd_" prefix to "gcc_"
This is specific to gcc, not to mpd.
parent
2fe1b503
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
gcc.h
src/gcc.h
+18
-18
tag.h
src/tag.h
+1
-1
No files found.
src/gcc.h
View file @
3e40b224
...
...
@@ -27,28 +27,28 @@
*/
#if defined(__GNUC__) && (__GNUC__ >= 3)
# define
mpd
_must_check __attribute__ ((warn_unused_result))
# define
mpd
_packed __attribute__ ((packed))
# define
gcc
_must_check __attribute__ ((warn_unused_result))
# define
gcc
_packed __attribute__ ((packed))
/* these are very useful for type checking */
# define
mpd
_printf __attribute__ ((format(printf,1,2)))
# define
mpd
_fprintf __attribute__ ((format(printf,2,3)))
# define
mpd
_fprintf_ __attribute__ ((format(printf,3,4)))
# define
mpd
_fprintf__ __attribute__ ((format(printf,4,5)))
# define
mpd
_scanf __attribute__ ((format(scanf,1,2)))
# define
mpd
_used __attribute__ ((used))
# define
gcc
_printf __attribute__ ((format(printf,1,2)))
# define
gcc
_fprintf __attribute__ ((format(printf,2,3)))
# define
gcc
_fprintf_ __attribute__ ((format(printf,3,4)))
# define
gcc
_fprintf__ __attribute__ ((format(printf,4,5)))
# define
gcc
_scanf __attribute__ ((format(scanf,1,2)))
# define
gcc
_used __attribute__ ((used))
/* # define inline inline __attribute__ ((always_inline)) */
# define
mpd
_noinline __attribute__ ((noinline))
# define
gcc
_noinline __attribute__ ((noinline))
#else
# define
mpd
_must_check
# define
mpd
_packed
# define
mpd
_printf
# define
mpd
_fprintf
# define
mpd
_fprintf_
# define
mpd
_fprintf__
# define
mpd
_scanf
# define
mpd
_used
# define
gcc
_must_check
# define
gcc
_packed
# define
gcc
_printf
# define
gcc
_fprintf
# define
gcc
_fprintf_
# define
gcc
_fprintf__
# define
gcc
_scanf
# define
gcc
_used
/* # define inline */
# define
mpd
_noinline
# define
gcc
_noinline
#endif
#endif
/* MPD_GCC_H */
src/tag.h
View file @
3e40b224
...
...
@@ -73,7 +73,7 @@ struct tag_item {
* the value of this tag; this is a variable length string
*/
char
value
[
sizeof
(
long
)];
}
mpd
_packed
;
}
gcc
_packed
;
/**
* The meta information about a song file. It is a MPD specific
...
...
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