aboutsummaryrefslogtreecommitdiff
path: root/src/images
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-12-17 12:23:24 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-12-17 12:23:24 +0000
commitb5499a8931c2e2de47bf00ef6aed728a3dbb91d2 (patch)
treec133941920f31f49114f1559725aa728e1a2e198 /src/images
parentababf2d4b189a689b1395abbc13f055f6f8a19d6 (diff)
Removing C++ comments.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@111 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/images')
-rw-r--r--src/images/ImageEncoder.c12
-rw-r--r--src/images/www.h2
-rw-r--r--src/images/wwwcactuscodeorg.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/images/ImageEncoder.c b/src/images/ImageEncoder.c
index 5205614..946ef7a 100644
--- a/src/images/ImageEncoder.c
+++ b/src/images/ImageEncoder.c
@@ -41,24 +41,24 @@ int main(int argc,char *argv[]){
s = strrchr(argv[1],'/');
if(s){
varname = (char*)malloc(strlen(s)+1);
- strcpy(varname,s); // strip /
+ strcpy(varname,s); /* strip */
}
else{
varname = (char*)malloc(strlen(argv[1])+1);
strcpy(varname,argv[1]);
}
- // printf("VarName=[%s]\n",varname);
+ /* printf("VarName=[%s]\n",varname); */
s = strrchr(varname,'.');
- if(s){ // strip .<ext>
+ if(s){ /* strip .<ext> */
*s='\0';
}
- // Now actually start writing stuff
+ /* Now actually start writing stuff */
fprintf(out,"#ifndef __%s_H_\n#define __%s_H_\n",
varname,varname);
fprintf(out,"\n\n");
fprintf(out,"static char %s[]={",varname);
- // inefficient, but it works
+ /* inefficient, but it works */
c=fgetc(in);
while(c!=EOF){
int tmp=c;
@@ -71,7 +71,7 @@ int main(int argc,char *argv[]){
if(!(counter%12))
fprintf(out,"\n\t");
}
- fprintf(out,"\n\n#endif // __%s_H_\n\n",varname);
+ fprintf(out,"\n\n#endif /* __%s_H_ */\n\n",varname);
fclose(in);
if(argc>2)
fclose(out);
diff --git a/src/images/www.h b/src/images/www.h
index 175e128..262f2d2 100644
--- a/src/images/www.h
+++ b/src/images/www.h
@@ -303,5 +303,5 @@ static char www[]={0x47,0x49,0x46,0x38,0x37,0x61,0xA1,0x00,0x20,
0x13,0xCD,0x07,0x92,0x24,0x19,0x92,0x05,0x61,0x2C,0xD1,0x28,
0x90,0x25,0xB9,0x92,0x26,0x11,0x10,0x00,0x3B};
-#endif // __www_H_
+#endif /*__www_H_ */
diff --git a/src/images/wwwcactuscodeorg.h b/src/images/wwwcactuscodeorg.h
index f8a8b5e..d6db8a7 100644
--- a/src/images/wwwcactuscodeorg.h
+++ b/src/images/wwwcactuscodeorg.h
@@ -749,5 +749,5 @@ static char wwwcactuscodeorg[]={0xFF,0xD8,0xFF,0xE0,0x00,0x10,0x4A,0x46,0x49,
0x28,0xA2,0x80,0x0A,0x28,0xA2,0x80,0x0A,0x28,0xA2,0x80,0x0A,
0x28,0xA2,0x80,0x3F,0xFF,0xD9};
-#endif // __wwwcactuscodeorg_H_
+#endif /* __wwwcactuscodeorg_H_ */