/usr/include/libsysactivity/global.h is in libsysactivity-dev 0.6.5-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | /*
* libsysactivity
* http://sourceforge.net/projects/libsysactivity/
* Copyright (c) 2011 Carlos Olmedo Escobar <carlos.olmedo.e@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SA_GLOBAL_H_
#define SA_GLOBAL_H_
#ifndef LIBSYSACTIVITY_H_
#warning You should not include this file directly from your source code. Include <libsysactivity/libsysactivity.h> instead.
#endif
#define SA_VERSION_MAJOR 0
#define SA_VERSION_SMALL 6
#define SA_VERSION_MINOR 5
#if __GNUC__ >= 4
#define SA_EXPORT __attribute__ ((visibility("default")))
#else
#define SA_EXPORT
#endif
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
#define SA_HOT __attribute__ ((hot))
#else
#define SA_HOT
#endif
#define SA_NONNULL __attribute__((nonnull))
#if __STDC_VERSION__ < 199901L
#define SA_INLINE inline
#else
#define SA_INLINE //In C99, inline means that a function's definition is provided only for inlining, and that there is another definition (without inline) somewhere else in the program
#endif
#include "cpu.h"
#include "disk.h"
#include "memory.h"
#include "network.h"
#include "process.h"
#include "swap.h"
#endif /* SA_CPU_H_ */
|