From 3cbef1a976731bb3a714ee13cbd1813ed142ae5e Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Tue, 11 Sep 2012 22:50:11 +0300 Subject: Use C-style comments in rfbconfig.h.cmake and C source code. Using C++-style comments when building the code with -ansi does not work, so be more conservative with the comment style. --- rfb/rfb.h | 2 +- rfb/rfbconfig.h.cmake | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rfb') diff --git a/rfb/rfb.h b/rfb/rfb.h index 3446740..16b6b66 100644 --- a/rfb/rfb.h +++ b/rfb/rfb.h @@ -686,7 +686,7 @@ typedef struct _rfbClientRec { #ifdef LIBVNCSERVER_HAVE_LIBJPEG /* TurboVNC Encoding support (extends TightVNC) */ int turboSubsampLevel; - int turboQualityLevel; // 1-100 scale + int turboQualityLevel; /* 1-100 scale */ #endif #endif diff --git a/rfb/rfbconfig.h.cmake b/rfb/rfbconfig.h.cmake index 2ee5e52..e973f5b 100644 --- a/rfb/rfbconfig.h.cmake +++ b/rfb/rfbconfig.h.cmake @@ -75,13 +75,13 @@ #cmakedefine LIBVNCSERVER_WORDS_BIGENDIAN 1 /* Define to empty if `const' does not conform to ANSI C. */ -//#cmakedefine const @CMAKE_CONST@ +/* #cmakedefine const @CMAKE_CONST@ */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ -//#ifndef __cplusplus -//#cmakedefine inline @CMAKE_INLINE@ -//#endif +/* #ifndef __cplusplus */ +/* #cmakedefine inline @CMAKE_INLINE@ */ +/* #endif */ /* Define to `int' if does not define. */ #cmakedefine HAVE_LIBVNCSERVER_PID_T 1 -- cgit v1.2.3