diff options
author | Erik Andersen | 2000-03-23 01:09:18 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-23 01:09:18 +0000 |
commit | 298854f02963bd8e43dfeb7224d88cfeb0c932cb (patch) | |
tree | 7a2fbb55e55f980edddb0d627c3f3e79c8f793b0 /utility.c | |
parent | ec5bd90916b6e815a36c14ac04d1b78e3e487400 (diff) | |
download | busybox-298854f02963bd8e43dfeb7224d88cfeb0c932cb.zip busybox-298854f02963bd8e43dfeb7224d88cfeb0c932cb.tar.gz |
My latest ramblings.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -112,10 +112,10 @@ extern void fatalError(char *s, ...) exit( FALSE); } -#if defined (BB_INIT) || defined (BB_PS) +#if defined BB_INIT /* Returns kernel version encoded as major*65536 + minor*256 + patch, * so, for example, to check if the kernel is greater than 2.2.11: - * if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> } + * if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> } */ int get_kernel_revision() { @@ -129,7 +129,7 @@ int get_kernel_revision() sscanf(name.version, "%d.%d.%d", &major, &minor, &patch); return major * 65536 + minor * 256 + patch; } -#endif /* BB_INIT || BB_PS */ +#endif /* BB_INIT */ #if defined (BB_CP_MV) || defined (BB_DU) |