Mercurial > hg > batmud > maputils
changeset 1500:b83e1399d8b6
Move enum earlier in the file.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Feb 2015 05:59:13 +0200 |
parents | d8228d32d764 |
children | cd70a5b2573f |
files | liblocfile.c |
diffstat | 1 files changed, 12 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/liblocfile.c Sat Feb 07 05:55:50 2015 +0200 +++ b/liblocfile.c Sat Feb 07 05:59:13 2015 +0200 @@ -138,6 +138,18 @@ } +enum +{ + PM_IDLE = 0, + PM_FIELD, + PM_FIELD_SEP, + PM_COMMENT, + PM_NEXT, + PM_EOF, + PM_ERROR +}; + + static int locFGetc(LocFileInfo *f) { f->linePos++; @@ -330,16 +342,7 @@ } -enum { - PM_IDLE, - PM_FIELD, - PM_FIELD_SEP, - PM_COMMENT, - PM_NEXT, - PM_EOF, - PM_ERROR -}; static BOOL locCheckForEOL(LocFileInfo *f, int *parseMode)