diff --git a/clients/opal/udp/models/send_receive/include/config.h b/clients/opal/udp/models/send_receive/include/config.h index 95af71795..37b594ea2 100644 --- a/clients/opal/udp/models/send_receive/include/config.h +++ b/clients/opal/udp/models/send_receive/include/config.h @@ -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 diff --git a/clients/opal/udp/models/send_receive/s2ss.mk b/clients/opal/udp/models/send_receive/s2ss.mk index 0cf147180..b2b20b766 100644 --- a/clients/opal/udp/models/send_receive/s2ss.mk +++ b/clients/opal/udp/models/send_receive/s2ss.mk @@ -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 diff --git a/clients/opal/udp/models/send_receive/src/s2ss.c b/clients/opal/udp/models/send_receive/src/s2ss.c index 4ac32161a..df23e5a93 100644 --- a/clients/opal/udp/models/send_receive/src/s2ss.c +++ b/clients/opal/udp/models/send_receive/src/s2ss.c @@ -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) {