PERFORCE change 106057 for review
Paolo Pisati
piso at FreeBSD.org
Wed Sep 13 07:01:31 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=106057
Change 106057 by piso at piso_longino on 2006/09/13 14:00:38
Turn some empty functions into empty defines: less space
wasted.
Affected files ...
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#21 edit
Differences ...
==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.c#21 (text+ko) ====
@@ -117,47 +117,15 @@
}
#else
-
#define LIBALIAS_LOCK_INIT() ;
#define LIBALIAS_LOCK_DESTROY() ;
#define LIBALIAS_WLOCK_ASSERT() ;
-
-static __inline void
-LIBALIAS_RLOCK(void)
-{
- ;
-}
-
-static __inline void
-LIBALIAS_RUNLOCK(void)
-{
- ;
-}
-
-static __inline void
-LIBALIAS_WLOCK(void)
-{
- ;
-}
-
-static __inline void
-LIBALIAS_WUNLOCK(void)
-{
- ;
-}
-
-static void
-_handler_chain_init(void)
-{
- ;
-}
-
-static void
-_handler_chain_destroy(void)
-{
- ;
-}
-
+#define LIBALIAS_RLOCK() ;
+#define LIBALIAS_RUNLOCK() ;
+#define LIBALIAS_WLOCK() ;
+#define LIBALIAS_WUNLOCK() ;
+#define _handler_chain_init() ;
+#define _handler_chain_destroy() ;
#endif
void
More information about the p4-projects
mailing list