X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgetlogin_r.m4;h=78255ca286f1f7648beae5cbbc1019e8b7f89872;hb=2e490c4e8bb38b23f24bac10a34d3d2d3586a6e9;hp=ad15c9879aabbafe1e090b6d6af5ba14082ff2d1;hpb=4a0e634c15e56c346f71b98082ab9d8c11c46b2a;p=gnulib.git diff --git a/m4/getlogin_r.m4 b/m4/getlogin_r.m4 index ad15c9879..78255ca28 100644 --- a/m4/getlogin_r.m4 +++ b/m4/getlogin_r.m4 @@ -1,6 +1,6 @@ -#serial 10 +#serial 11 -# Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. +# Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -50,7 +50,11 @@ changequote([,])dnl #include #include #if !HAVE_DECL_GETLOGIN_R -extern int getlogin_r (char *, size_t); +extern +# ifdef __cplusplus +"C" +# endif +int getlogin_r (char *, size_t); #endif int main (void)