diff options
author | tjr <tjr@FreeBSD.org> | 2002-06-14 15:56:52 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-06-14 15:56:52 +0000 |
commit | 1fa61e7038c01fdffbb282d50c1dd03ea22c4622 (patch) | |
tree | 57fc2b5dac2243095381b2f95a50e68babe616ed /usr.bin/tr | |
parent | 38575dbfdfb23cf40b1ac3892a7a24033a3a5681 (diff) | |
download | FreeBSD-src-1fa61e7038c01fdffbb282d50c1dd03ea22c4622.zip FreeBSD-src-1fa61e7038c01fdffbb282d50c1dd03ea22c4622.tar.gz |
Move the #include and #define's to the top of the file.
Diffstat (limited to 'usr.bin/tr')
-rw-r--r-- | usr.bin/tr/extern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tr/extern.h b/usr.bin/tr/extern.h index fc30136..356f025 100644 --- a/usr.bin/tr/extern.h +++ b/usr.bin/tr/extern.h @@ -34,6 +34,10 @@ * $FreeBSD$ */ +#include <limits.h> +#define NCHARS (UCHAR_MAX + 1) /* Number of possible characters. */ +#define OOBCH (UCHAR_MAX + 1) /* Out of band character value. */ + typedef struct { enum { STRING1, STRING2 } which; enum { EOS, INFINITE, NORMAL, RANGE, SEQUENCE, SET } state; @@ -44,8 +48,4 @@ typedef struct { char *str; /* user's string */ } STR; -#include <limits.h> -#define NCHARS (UCHAR_MAX + 1) /* Number of possible characters. */ -#define OOBCH (UCHAR_MAX + 1) /* Out of band character value. */ - int next(STR *); |