Commit d09196e5 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Consolidate replicated declarations of streamOps in header.

parent fdf4bae1
...@@ -58,6 +58,9 @@ char *strdup(const char *s); ...@@ -58,6 +58,9 @@ char *strdup(const char *s);
#ifndef _IEG_H #ifndef _IEG_H
# include "ieg.h" # include "ieg.h"
#endif #endif
#ifndef RESOURCE_HANDLE_H
# include "resource_handle.h"
#endif
#define check_parg(arg) if ( arg == 0 ) Warning("Argument '" #arg "' not allocated!") #define check_parg(arg) if ( arg == 0 ) Warning("Argument '" #arg "' not allocated!")
...@@ -369,7 +372,7 @@ void cdiStreamSync_(stream_t *streamptr); ...@@ -369,7 +372,7 @@ void cdiStreamSync_(stream_t *streamptr);
char *cdiUnitNamePtr(int cdi_unit); char *cdiUnitNamePtr(int cdi_unit);
extern resOps streamOps;
#endif /* _CDI_INT_H */ #endif /* _CDI_INT_H */
/* /*
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
#include "vlist.h" #include "vlist.h"
#include "vlist_var.h" #include "vlist_var.h"
extern resOps streamOps;
static struct rdmaWin static struct rdmaWin
{ {
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include "vlist_var.h" #include "vlist_var.h"
extern resOps streamOps;
extern void arrayDestroy ( void ); extern void arrayDestroy ( void );
static struct static struct
......
...@@ -30,9 +30,6 @@ ...@@ -30,9 +30,6 @@
#define MAX_FNAMES 3 #define MAX_FNAMES 3
extern resOps streamOps;
FILE *popen(const char *command, const char *type); FILE *popen(const char *command, const char *type);
int pclose(FILE *stream); int pclose(FILE *stream);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment