DEADSOFTWARE

headers describes that c-files implements
[flatwaifu.git] / src / my.c
index bfae25f516d150ccbf2edd38e3af7eaea89ac493..a966eb8b697aab420f65e938f0d924865ec25497 100644 (file)
--- a/src/my.c
+++ b/src/my.c
@@ -28,8 +28,7 @@
 #include <stdint.h>
 #include <assert.h>
 
-void mysplitpath(const char* path, char* drv, char* dir, char* name, char* ext)
-{
+void mysplitpath(const char* path, char* drv, char* dir, char* name, char* ext) {
      const char* end; /* end of processed string */
      const char* p;   /* search pointer */
      const char* s;   /* copy pointer */
@@ -127,13 +126,11 @@ void myfwrite32 (int32_t x, FILE *f) {
   myfwrite(&x, 4, 1, f);
 }
 
-void myrandomize(void)
-{
+void myrandomize (void) {
     srand(SDL_GetTicks());
 }
 
-int fexists(char * filename)
-{
+int fexists (char *filename) {
     FILE *f;
     if ((f = fopen(filename, "r")))
     {
@@ -141,4 +138,4 @@ int fexists(char * filename)
         return 1;
     }
     return 0;
-}
\ No newline at end of file
+}