diff options
author | Adrian Thurston <thurston@colm.net> | 2016-12-13 10:13:21 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2016-12-13 10:13:55 -0500 |
commit | dc2adb04132daf673a6abaae3c3b7cc0fa570374 (patch) | |
tree | 75ff9049119fecce08cd82f6aa2f6332a3bbfed2 /src/program.h | |
parent | 93cb6a1c9ea51335118f9342a93a5c23d7f2f8c9 (diff) | |
download | colm-dc2adb04132daf673a6abaae3c3b7cc0fa570374.tar.gz |
an automated include convention improvement from Peter Reijnders
Diffstat (limited to 'src/program.h')
-rw-r--r-- | src/program.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/program.h b/src/program.h index fa80b6bc..35696939 100644 --- a/src/program.h +++ b/src/program.h @@ -19,8 +19,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __COLM_PROGRAM_H -#define __COLM_PROGRAM_H +#ifndef _COLM_PROGRAM_H +#define _COLM_PROGRAM_H + +#ifdef __cplusplus +extern "C" { +#endif #include <colm/pdarun.h> @@ -164,4 +168,9 @@ struct colm_program const char **stream_fns; }; +#ifdef __cplusplus +} #endif + +#endif /* _COLM_PROGRAM_H */ + |