remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 1999 - 2002 Kungliga Tekniska Högskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. Neither the name of KTH nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
@@ -155,7 +155,7 @@ week_number_mon4 (const struct tm *tm)
|
||||
int wday = (tm->tm_wday + 6) % 7;
|
||||
int w1day = (wday - tm->tm_yday % 7 + 7) % 7;
|
||||
int ret;
|
||||
|
||||
|
||||
ret = (tm->tm_yday + w1day) / 7;
|
||||
if (w1day >= 4)
|
||||
--ret;
|
||||
@@ -290,7 +290,7 @@ strftime (char *buf, size_t maxsize, const char *format,
|
||||
"%02d:%02d",
|
||||
tm->tm_hour,
|
||||
tm->tm_min);
|
||||
|
||||
|
||||
case 's' :
|
||||
ret = snprintf (buf, maxsize - n,
|
||||
"%d", (int)mktime(rk_UNCONST(tm)));
|
||||
@@ -358,7 +358,7 @@ strftime (char *buf, size_t maxsize, const char *format,
|
||||
(long)timezone
|
||||
#else
|
||||
#error Where in timezone chaos are you?
|
||||
#endif
|
||||
#endif
|
||||
);
|
||||
break;
|
||||
case 'Z' :
|
||||
|
||||
Reference in New Issue
Block a user