mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
applied fixes to silence compiler warnings and added new version (now same accross all S2SS components)
This commit is contained in:
parent
5dbfb0301b
commit
0d51b310bf
3 changed files with 5 additions and 4 deletions
|
@ -8,8 +8,8 @@
|
|||
#ifndef _CONFIG_H_
|
||||
#define _CONFIG_H_
|
||||
|
||||
#define PROGNAME "S2SS"
|
||||
#define VERSION "0.1"
|
||||
#define PROGNAME "S2SS-OPAL-UDP"
|
||||
#define VERSION "0.5"
|
||||
|
||||
#define MAX_VALUES 64
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ endif
|
|||
|
||||
INCLUDES = -I.
|
||||
LIBPATH = -L.
|
||||
CC_OPTS =
|
||||
CC_OPTS = -std=c99
|
||||
LD_OPTS =
|
||||
OBJS = s2ss.o msg.o utils.o socket.o
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "config.h"
|
||||
#include "msg.h"
|
||||
#include "socket.h"
|
||||
#include "utils.h"
|
||||
|
||||
/* This is just for initializing the shared memory access to communicate
|
||||
* with the RT-LAB model. It's easier to remember the arguments like this */
|
||||
|
@ -256,7 +257,7 @@ int main(int argc, char *argv[])
|
|||
pthread_t tid_send, tid_recv;
|
||||
pthread_attr_t attr_send, attr_recv;
|
||||
|
||||
OpalPrint("%s: This is a S2SS client\n", PROGNAME);
|
||||
OpalPrint("%s: This is %s client version %s\n", PROGNAME, PROGNAME, VERSION);
|
||||
|
||||
/* Check for the proper arguments to the program */
|
||||
if (argc < 4) {
|
||||
|
|
Loading…
Add table
Reference in a new issue