sound/core/wrappers.c __GENKSYMS__ usage

From: Sam Ravnborg (sam@ravnborg.org)
Date: Mon Oct 21 2002 - 14:11:20 EST


Hi Jaroslav

The usage of __GENKSYMS__ in sound/core/wrappers.c looks wrong.

>From the file:
#include <linux/version.h>
#include <linux/config.h>
#ifdef ALSA_BUILD
#if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
#define MODVERSIONS
#include <linux/modversions.h>
#include "sndversions.h"
#endif
#endif

So __GENKSYMS__ etc is used to protect against inclusion of modversions.h
and sndversion.h.
The latter is not present in my tree (2.5.44).
__DEPEND__ is no longer used.

I do not see the purpose of this - please explain.

        Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:55 EST