]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/seek.c
Removed the header include guard 'optimization'.
[pdclib] / platform / example / functions / _PDCLIB / seek.c
index b28de731d4a8189e854bc7e6618c98512524aa25..6944f787856c621308777f35ef6bc9262176307d 100644 (file)
@@ -8,10 +8,7 @@
 
 #include <stdio.h>
 
-#ifndef _PDCLIB_GLUE_H
-#define _PDCLIB_GLUE_H
 #include <_PDCLIB_glue.h>
-#endif
 
 #include "/usr/include/errno.h"
 
@@ -53,7 +50,7 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of
             _PDCLIB_errno = _PDCLIB_ERROR;
             break;
         default:
-            /* This should probably be something like EUNKNOWN. */
+            /* This should be something like EUNKNOWN. */
             _PDCLIB_errno = _PDCLIB_ERROR;
             break;
     }
@@ -63,7 +60,7 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     /* Testing covered by ftell.c */
     return TEST_RESULTS;