Files
unison/src/core/doc/deprecated-example.h
Peter D. Barnes, Jr. 18e8001aaa [core] Fix compilation errors from new NS_DEPRECATED function macro in r 12293 [57597d3fb31e]
Remove function macro and return to simple tag.  GCC can have the
attribute in front of the function declaration, matching Windows.
2016-09-03 18:13:21 -04:00

40 lines
1.2 KiB
C

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2015 Lawrence Livermore National Laboratory
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Authors: Peter D. Barnes, Jr. <pdbarnes@llnl.gov>
*/
/*
* This is an example included in the doxygen-generated documentation
* for NS_DEPRECATED.
*/
// [doxygen snippet]
/*
* Do something useful.
*
* \deprecated This method will go away in future versions of ns-3.
* See instead TheNewWay()
*/
NS_DEPRECATED
void SomethingUseful (void);
/*
* Do something more useful.
*/
void TheNewWay (void);
// [doxygen snippet]