mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Rename "features.h" to "lang.h"
In preparation for introducing "feature.h" for feature-driven linking.
This commit is contained in:
parent
937e402794
commit
6dd823a9e8
@ -43,7 +43,7 @@ HDRS= fifo.h \
|
||||
fdqueue.h \
|
||||
http_server.h \
|
||||
xprintf.h \
|
||||
features.h \
|
||||
lang.h \
|
||||
constants.h \
|
||||
monitor-client.h \
|
||||
mdp_client.h \
|
||||
|
@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#ifndef __SERVAL_DNA__INSTANCE_H
|
||||
#define __SERVAL_DNA__INSTANCE_H
|
||||
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
#include "whence.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
#include "cli.h"
|
||||
#include "serval_types.h"
|
||||
#include "str.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
/*
|
||||
Copyright (C) 2015 Serval Project Inc.
|
||||
Copyright (C) 2016 Flinders University
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
@ -16,10 +17,11 @@ along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __SERVAL_DNA__FEATURES_H
|
||||
#define __SERVAL_DNA__FEATURES_H
|
||||
#ifndef __SERVAL_DNA__LANG_H
|
||||
#define __SERVAL_DNA__LANG_H
|
||||
|
||||
/* Useful macros not specific to Serval DNA
|
||||
/* Useful macros not specific to Serval DNA that assist with using the C
|
||||
* language.
|
||||
*/
|
||||
|
||||
// Number of elements in an array (Warning: does not work if A is a pointer!).
|
||||
@ -60,4 +62,4 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
# define UNUSED(x) x
|
||||
#endif
|
||||
|
||||
#endif // __SERVAL_DNA__FEATURES_H
|
||||
#endif // __SERVAL_DNA__LANG_H
|
2
mem.h
2
mem.h
@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#define __SERVAL_DNA__MEM_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
#include "log.h"
|
||||
|
||||
// #define MALLOC_PARANOIA
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef __SERVAL_DNA__SECTION_H
|
||||
#define __SERVAL_DNA__SECTION_H
|
||||
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
|
||||
/* Macros for creating named linkage sections.
|
||||
*/
|
||||
|
@ -18,8 +18,7 @@ along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "features.h"
|
||||
#include "constants.h"
|
||||
#include "lang.h"
|
||||
#include "sighandlers.h"
|
||||
|
||||
int sigPipeFlag=0;
|
||||
|
2
socket.h
2
socket.h
@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
#include "whence.h"
|
||||
|
||||
struct socket_address{
|
||||
|
2
strbuf.h
2
strbuf.h
@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#ifndef __STRBUF_H__
|
||||
#define __STRBUF_H__
|
||||
#include <stddef.h>
|
||||
#include "features.h"
|
||||
#include "lang.h"
|
||||
|
||||
/**
|
||||
A strbuf provides a convenient set of primitives for assembling a
|
||||
|
Loading…
Reference in New Issue
Block a user