aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-02 13:00:34 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-02 13:00:34 +0000
commit97784697eb902b755ce58808c62efd1e911e330a (patch)
treeaf907f1b9a4af63a5b21b8cbda0428482ac54a0b
parent198ae14a943900fe9104c26ee3d253a347ec72f3 (diff)
add DECLS
-rw-r--r--cms.h3
-rw-r--r--fft.h2
-rw-r--r--sio.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/cms.h b/cms.h
index cdfa94f..111b3ae 100644
--- a/cms.h
+++ b/cms.h
@@ -18,14 +18,15 @@
#ifndef __CMS_H
#define __CMS_H
+__BEGIN_DECLS
void hsv2rgb(
unsigned short *r, unsigned short *g, unsigned short *b,
double h, double s, double v
);
-
void hsl2rgb(
unsigned short *r, unsigned short *g, unsigned short *b,
double h, double s, double l
);
+__END_DECLS
#endif
diff --git a/fft.h b/fft.h
index 6f0f3bc..f1dd69a 100644
--- a/fft.h
+++ b/fft.h
@@ -20,8 +20,10 @@
struct fft;
+__BEGIN_DECLS
struct fft *init_fft(int);
int dofft(struct fft *, int16_t *, double *, int);
void del_fft(struct fft *);
+__END_DECLS
#endif
diff --git a/sio.h b/sio.h
index ae375a9..107eaab 100644
--- a/sio.h
+++ b/sio.h
@@ -20,8 +20,10 @@
struct sio;
+__BEGIN_DECLS
struct sio *init_sio(int);
int16_t *read_sio(struct sio *, size_t);
void del_sio(struct sio *);
+__END_DECLS
#endif