lkml.org 
[lkml]   [1997]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: asmlinkage in linux/include/linux/linkage.h
Date
> Would it be better to protect extern "C" { ... }, if needed,
> by #ifdefs in the right place ? There would be a lot such
> #ifdef .. #endif makros, true, but then extern "C" would in
> my opinion be correct, after all.

That would look a lot messier

asmlinkage is used to mark routines called from the .S (assembler) files
so they dont get mashed by C++ name mangling


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.113 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site