]> granicus.if.org Git - curl/commitdiff
cpp: correct #endif placement
authorDaniel Stenberg <daniel@haxx.se>
Sun, 6 Mar 2011 22:00:28 +0000 (23:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 6 Mar 2011 22:00:28 +0000 (23:00 +0100)
The end-of-file #endif in rawstr.h was not correcly positioned after all
prototypes.

Reported by: Boris
Bug: http://curl.haxx.se/bug/view.cgi?id=3195205

lib/rawstr.h

index 7e9747a7973cf61a0c4257cdcacb1ae9381f46a3..59633b7f522dedd9d62b585f6a050db9e12c32da 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -40,5 +40,5 @@ char Curl_raw_toupper(char in);
    argument is zero-byte terminated */
 #define checkprefix(a,b)    Curl_raw_nequal(a,b,strlen(a))
 
-#endif
 void Curl_strntoupper(char *dest, const char *src, size_t n);
+#endif