]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove now unused Boolean/TRUE/FALSE definitions
authorJouni Malinen <jouni@codeaurora.org>
Thu, 23 Apr 2020 22:35:36 +0000 (01:35 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 Apr 2020 14:06:50 +0000 (17:06 +0300)
The previous users were converted to C99 bool.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/defs.h

index f62c3ceeede9994be6eef900f815d500a01e08fe..bcf6f543b96d24bee3738e785d21ffb2252b7994 100644 (file)
@@ -9,15 +9,6 @@
 #ifndef DEFS_H
 #define DEFS_H
 
-#ifdef FALSE
-#undef FALSE
-#endif
-#ifdef TRUE
-#undef TRUE
-#endif
-typedef enum { FALSE = 0, TRUE = 1 } Boolean;
-
-
 #define WPA_CIPHER_NONE BIT(0)
 #define WPA_CIPHER_WEP40 BIT(1)
 #define WPA_CIPHER_WEP104 BIT(2)