mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
There is <linux/compiler.h> which provides macros for various gcc specific constructs. Eg: __weak for __attribute__((weak)). I've cleaned all instances of gcc specific attributes with the right macros for all files under /arch/m68k Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Gideon Israel Dsouza <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Paul Gortmaker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
24 lines
533 B
C
24 lines
533 B
C
/*
|
|
* ARAnyM hardware support via Native Features (natfeats)
|
|
*
|
|
* Copyright (c) 2005 Petr Stehlik of ARAnyM dev team
|
|
*
|
|
* This software may be used and distributed according to the terms of
|
|
* the GNU General Public License (GPL), incorporated herein by reference.
|
|
*/
|
|
#include <linux/compiler.h>
|
|
|
|
#ifndef _NATFEAT_H
|
|
#define _NATFEAT_H
|
|
|
|
long nf_get_id(const char *feature_name);
|
|
long nf_call(long id, ...);
|
|
|
|
void nf_init(void);
|
|
void nf_shutdown(void);
|
|
|
|
void nfprint(const char *fmt, ...)
|
|
__printf(1, 2);
|
|
|
|
# endif /* _NATFEAT_H */
|