lkc.h (754451342fc5954061ede74b0a8485ec4a4c6eaa) lkc.h (694c49a7c01cc87194be40cb26404b58b68c291c)
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#ifndef LKC_H
7#define LKC_H
8
9#include "expr.h"
10
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#ifndef LKC_H
7#define LKC_H
8
9#include "expr.h"
10
11#ifndef KBUILD_NO_NLS
12# include <libintl.h>
13#else
14static inline const char *gettext(const char *txt) { return txt; }
15static inline void textdomain(const char *domainname) {}
16static inline void bindtextdomain(const char *name, const char *dir) {}
17static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c; }
18#endif
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include "lkc_proto.h"
25
26#define SRCTREE "srctree"
27
28#ifndef PACKAGE
29#define PACKAGE "linux"
30#endif
31
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#include "lkc_proto.h"
16
17#define SRCTREE "srctree"
18
19#ifndef PACKAGE
20#define PACKAGE "linux"
21#endif
22
32#define LOCALEDIR "/usr/share/locale"
33
34#define _(text) gettext(text)
35#define N_(text) (text)
36
37#ifndef CONFIG_
38#define CONFIG_ "CONFIG_"
39#endif
40static inline const char *CONFIG_prefix(void)
41{
42 return getenv( "CONFIG_" ) ?: CONFIG_;
43}
44#undef CONFIG_

--- 144 unchanged lines hidden ---
23#ifndef CONFIG_
24#define CONFIG_ "CONFIG_"
25#endif
26static inline const char *CONFIG_prefix(void)
27{
28 return getenv( "CONFIG_" ) ?: CONFIG_;
29}
30#undef CONFIG_

--- 144 unchanged lines hidden ---