Mercurial > libavutil.hg
diff lfg.h @ 567:bd4052d9050c libavutil
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
author | stefano |
---|---|
date | Sun, 31 Aug 2008 07:39:47 +0000 |
parents | cdbdd48471aa |
children | 8c48a1b999a3 |
line wrap: on
line diff
--- a/lfg.h Tue Aug 19 22:17:13 2008 +0000 +++ b/lfg.h Sun Aug 31 07:39:47 2008 +0000 @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef FFMPEG_LFG_H -#define FFMPEG_LFG_H +#ifndef AVUTIL_LFG_H +#define AVUTIL_LFG_H typedef struct { unsigned int state[64]; @@ -51,4 +51,4 @@ return c->state[c->index++ & 63] = 2*a*b+a+b; } -#endif //FFMPEG_LFG_H +#endif /* AVUTIL_LFG_H */