~ubuntu-branches/ubuntu/karmic/pilot-link/karmic

« back to all changes in this revision

Viewing changes to include/pi-args.h

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2006-09-22 11:51:36 UTC
  • mfrom: (3.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20060922115136-qqmy17bx8j5x0y72
Tags: 0.12.1-5
* urgency medium since libpisock-dev was not usable to build any package
* libpisock-dev now depends on libusb-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * pi-args.h: Macros for prototype definitions
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or modify it
 
5
 * under the terms of the GNU Library General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or (at
 
7
 * your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
 
12
 * General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Library General Public License
 
15
 * along with this library; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17
 */
 
18
#ifndef __PILOT_ARGS_H__
 
19
#define __PILOT_ARGS_H__
 
20
 
 
21
/** @file pi-args.h
 
22
 *  @brief Macros for prototype definitions
 
23
 *
 
24
 */
1
25
#if ((defined(__STDC__) || defined(SABER)) && !defined(NO_PROTOTYPE)) || defined(__cplusplus) || defined(USE_PROTOTYPE) || defined(CAN_PROTOTYPE)
2
26
#   define PI_ARGS(x)       x
3
27
#   define PI_CONST const
5
29
#   define PI_ARGS(x)       ()
6
30
#   define PI_CONST
7
31
#endif
 
32
 
 
33
#endif